neovim/runtime/lua/vim/treesitter
dundargoc 2e982f1aad refactor: create function for deferred loading
The benefit of this is that users only pay for what they use. If e.g.
only `vim.lsp.buf_get_clients()` is called then they don't need to load
all modules under `vim.lsp` which could lead to significant startuptime
saving.

Also `vim.lsp.module` is a bit nicer to user compared to
`require("vim.lsp.module")`.

This isn't used for some nested modules such as `filetype` as it breaks
tests with error messages such as "attempt to index field 'detect'".
It's not entirely certain the reason for this, but it is likely it is
due to filetype being precompiled which would imply deferred loading
isn't needed for performance reasons.
2024-02-03 16:53:41 +01:00
..
_fold.lua revert: "feat(treesitter): add foldtext with treesitter highlighting" 2024-01-27 08:38:56 +08:00
_meta.lua docs: document TSNode:byte_length() (#26287) 2023-11-29 08:59:36 -06:00
_query_linter.lua fix(treesitter): avoid # of nil in _query_linter 2024-01-24 11:03:54 +00:00
_range.lua feat(treesitter)!: incremental injection parsing 2023-08-12 16:11:36 +01:00
dev.lua docs: enforce "treesitter" spelling #27110 2024-01-28 17:53:14 -08:00
health.lua refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
highlighter.lua fix(treesitter): prefix treesitter types with vim 2024-01-24 10:01:56 +00:00
language.lua refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
languagetree.lua fix(treesitter): validate language alias for injections 2024-01-18 15:46:08 +01:00
query.lua refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00