neovim/runtime/autoload/provider
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
..
clipboard.vim fix(clipboard): don't pass --foreground to wl-copy (#25481) 2023-10-03 11:24:33 +08:00
node.vim refactor(runtime): use vim.version to compare versions #22550 2023-03-07 06:28:53 -08:00
perl.vim refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
python3.vim refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
ruby.vim refactor: create function for deferred loading 2024-02-03 16:53:41 +01:00
script_host.rb Make script_host.rb rubocop-clean 2017-05-03 22:24:51 +02:00