emacs-php / php-ts-mode

A Tree-sitter based major mode for editing PHP codes
GNU General Public License v3.0
23 stars 8 forks source link

Set treesit-defun-type-regexp to help with defun navigation #64

Closed Gleek closed 6 months ago

Gleek commented 6 months ago

It sets up navigation functions for beginning-of-defun and end-of-defun.

piotrkwiecinski commented 6 months ago

@zonuexe @jcs090218 any change we could merge it? I have some tests coverage on for this PR on https://github.com/piotrkwiecinski/php-ts-mode/tree/def-nav-tests

Test run https://github.com/piotrkwiecinski/php-ts-mode/actions/runs/9084084993/job/24964236332

zonuexe commented 6 months ago

@Gleek @piotrkwiecinski Thank you!