diff options
| author | Jeremy Fleischman <jeremyfleischman@gmail.com> | 2025-05-03 10:25:58 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 10:25:58 -0700 |
| commit | 03d378fda68fc5942660707cdd2314c0e12fb0a0 (patch) | |
| tree | b57e063ae08aa5c2879384a8a857e7dad6616b88 /runtime/lua/vim/shared.lua | |
| parent | 2e35161fa1c229346f7e9a109d0d2ba463f8809c (diff) | |
| download | rneovim-03d378fda68fc5942660707cdd2314c0e12fb0a0.tar.gz rneovim-03d378fda68fc5942660707cdd2314c0e12fb0a0.tar.bz2 rneovim-03d378fda68fc5942660707cdd2314c0e12fb0a0.zip | |
feat(lsp): vim.lsp.is_enabled() #33703
Problem:
No way to check if a LSP config is enabled without causing it to
resolve. E.g. `vim.lsp.config['…'] ~= nil` will resolve the config,
which could be an unwanted and somewhat expensive side-effect.
Solution:
Introduce `vim.lsp.is_enabled()`.
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions