mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-19 01:10:57 -08:00
; Cleanup sexp things in 'lua-ts-mode'
* lisp/progmodes/lua-ts-mode.el (lua-ts-mode): Remove some nonsensical entries from 'treesit-thing-settings'. * test/lisp/progmodes/lua-ts-mode-resources/movement.erts: Add missing tests for 'backward-sexp'. (Bug#76534)
This commit is contained in:
parent
5397721352
commit
8bc933b64e
2 changed files with 56 additions and 15 deletions
|
|
@ -793,8 +793,7 @@ Calls REPORT-FN directly."
|
|||
`((lua
|
||||
(function ,(rx (or "function_declaration"
|
||||
"function_definition")))
|
||||
(keyword ,(regexp-opt lua-ts--keywords
|
||||
'symbols))
|
||||
(keyword ,(regexp-opt lua-ts--keywords 'symbols))
|
||||
(loop-statement ,(rx (or "do_statement"
|
||||
"for_statement"
|
||||
"repeat_statement"
|
||||
|
|
@ -812,18 +811,10 @@ Calls REPORT-FN directly."
|
|||
keyword
|
||||
loop-statement
|
||||
,(rx (or "arguments"
|
||||
"break_statement"
|
||||
"expression_list"
|
||||
"false"
|
||||
"identifier"
|
||||
"nil"
|
||||
"number"
|
||||
"parameters"
|
||||
"parenthesized_expression"
|
||||
"string"
|
||||
"table_constructor"
|
||||
"true"
|
||||
"vararg_expression"))))
|
||||
"table_constructor"))))
|
||||
(text "comment"))))
|
||||
|
||||
;; Imenu/Outline/Which-function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue