File: lua-ts-mode.el.html
This package provides lua-ts-mode which is a major mode for Lua
files that uses Tree Sitter to parse the language.
This package is compatible with and tested against the grammar for Lua found at https://github.com/tree-sitter-grammars/tree-sitter-lua
Defined variables (19)
lua-ts--builtins | Lua built-in functions for tree-sitter font-locking. |
lua-ts--font-lock-settings | Tree-sitter font-lock settings for ‘lua-ts-mode’. |
lua-ts--keywords | Lua keywords for tree-sitter font-locking and navigation. |
lua-ts--syntax-table | Syntax table for ‘lua-ts-mode’. |
lua-ts-auto-close-block-comments | If non-nil, inserting a block comment "--[[" will insert its respective "]]". |
lua-ts-indent-continuation-lines | Controls how multi-line if/else statements are aligned. |
lua-ts-indent-offset | Number of spaces for each indentation step in ‘lua-ts-mode’. |
lua-ts-inferior-buffer | Name of the inferior Lua buffer. |
lua-ts-inferior-history | File used to save command history of the inferior Lua process. |
lua-ts-inferior-options | Command line options for the inferior Lua process. |
lua-ts-inferior-program | Program to run in the inferior Lua process. |
lua-ts-inferior-prompt | Prompt used by the inferior Lua process. |
lua-ts-inferior-prompt-continue | Continuation prompt used by the inferior Lua process. |
lua-ts-inferior-startfile | File to load into the inferior Lua process at startup. |
lua-ts-luacheck-program | Location of the Luacheck program. |
lua-ts-mode-abbrev-table | Abbrev table for ‘lua-ts-mode’. |
lua-ts-mode-hook | Hook run after entering ‘lua-ts-mode’. |
lua-ts-mode-map | Keymap for ‘lua-ts-mode’ buffers. |
lua-ts-mode-menu | Menu bar entry for ‘lua-ts-mode’. |
Defined functions (25)
lua-ts--comment-font-lock | (NODE OVERRIDE START END &rest _) |
lua-ts--defun-name-function | (NODE) |
lua-ts--end-count | () |
lua-ts--end-indent-offset | (&rest _) |
lua-ts--end-line-matcher | (&rest _) |
lua-ts--g-parent | (NODE) |
lua-ts--last-arg-function-call-matcher | (NODE PARENT &rest _) |
lua-ts--multi-arg-function-call-matcher | (N PARENT &rest _) |
lua-ts--multi-line-comment-start | (NODE &rest _) |
lua-ts--named-function-p | (NODE) |
lua-ts--require-name-function | (NODE) |
lua-ts--require-p | (NODE) |
lua-ts--variable-declaration-continuation | (NODE &rest _) |
lua-ts--variable-declaration-continuation-anchor | (NODE &rest _) |
lua-ts-flymake-luacheck | (REPORT-FN &rest ARGS) |
lua-ts-hide-process-buffer | () |
lua-ts-inferior--write-history | (PROCESS _) |
lua-ts-inferior-lua | () |
lua-ts-kill-process | () |
lua-ts-mode | () |
lua-ts-mode-menu | (ARG1) |
lua-ts-send-buffer | () |
lua-ts-send-file | (FILE) |
lua-ts-send-region | (BEG END) |
lua-ts-show-process-buffer | () |