| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
|
|
|
| |
- Don't assume b:undo_ftplugin is set when first modifying it.
- Don't assume b:undo_ftplugin already contains some resetting.
|
|
|
|
|
|
| |
It seems that nvim-treesitter stops treesitter highlight when changing
filetype, so it makes sense for builtin ftplugins to do this as well.
Use :call and v:lua here to allow separation with '|'.
|
|
|
|
| |
Related to #29506, but adding vim.treesitter.stop() to b:undo_ftplugin
doesn't solve the problem yet.
|
|
|
| |
It's the "tree-sitter" project, but "treesitter" in our code and docs.
|
| |
|
|
|
| |
and set by default in `ftplugin/query.lua`
|
|
|
|
| |
Co-authored-by: clason <clason@users.noreply.github.com>
Co-authored-by: lewis6991 <lewis6991@users.noreply.github.com>
|
| |
|
|
used for Tree-sitter queries
uses Lisp runtime files
(in Lua to distinguish from upstream runtime files)
|