]> git.eshelyaron.com Git - emacs.git/commit
Use treesit-sentence-type-regexp in java-ts-mode
authorTheodor Thornhill <theo@thornhill.no>
Sat, 14 Jan 2023 21:41:00 +0000 (22:41 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Sat, 14 Jan 2023 22:06:06 +0000 (23:06 +0100)
commit50fd58be614230e9f0ad5fcf79aa7a5f3a499e04
tree1ac51823a8b758f38a5d5f953ab75084f6d27198
parentc257fd3a406d6aa83be60b96217e42b49b62cf5f
Use treesit-sentence-type-regexp in java-ts-mode

Initial support for forward/backward-sentence movement with
tree-sitter.  Include all statements, and some declarations.  Don't
include the bigger declarations we don't want to jump over too big
blocks of code.

* lisp/progmodes/java-ts-mode.el (java-ts-mode): Add relevant node
types to treesit-sentence-type-regexp.
lisp/progmodes/java-ts-mode.el