diff options
Diffstat (limited to 'lisp/progmodes/lua-ts-mode.el')
| -rw-r--r-- | lisp/progmodes/lua-ts-mode.el | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el index f02fefa8f94..de93d0fdaba 100644 --- a/lisp/progmodes/lua-ts-mode.el +++ b/lisp/progmodes/lua-ts-mode.el | |||
| @@ -793,8 +793,7 @@ Calls REPORT-FN directly." | |||
| 793 | `((lua | 793 | `((lua |
| 794 | (function ,(rx (or "function_declaration" | 794 | (function ,(rx (or "function_declaration" |
| 795 | "function_definition"))) | 795 | "function_definition"))) |
| 796 | (keyword ,(regexp-opt lua-ts--keywords | 796 | (keyword ,(regexp-opt lua-ts--keywords 'symbols)) |
| 797 | 'symbols)) | ||
| 798 | (loop-statement ,(rx (or "do_statement" | 797 | (loop-statement ,(rx (or "do_statement" |
| 799 | "for_statement" | 798 | "for_statement" |
| 800 | "repeat_statement" | 799 | "repeat_statement" |
| @@ -812,18 +811,10 @@ Calls REPORT-FN directly." | |||
| 812 | keyword | 811 | keyword |
| 813 | loop-statement | 812 | loop-statement |
| 814 | ,(rx (or "arguments" | 813 | ,(rx (or "arguments" |
| 815 | "break_statement" | ||
| 816 | "expression_list" | ||
| 817 | "false" | ||
| 818 | "identifier" | ||
| 819 | "nil" | ||
| 820 | "number" | ||
| 821 | "parameters" | 814 | "parameters" |
| 822 | "parenthesized_expression" | 815 | "parenthesized_expression" |
| 823 | "string" | 816 | "string" |
| 824 | "table_constructor" | 817 | "table_constructor")))) |
| 825 | "true" | ||
| 826 | "vararg_expression")))) | ||
| 827 | (text "comment")))) | 818 | (text "comment")))) |
| 828 | 819 | ||
| 829 | ;; Imenu/Outline/Which-function. | 820 | ;; Imenu/Outline/Which-function. |