aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin/lua.lua
diff options
context:
space:
mode:
authorJeremy Fleischman <jeremyfleischman@gmail.com>2025-04-30 16:57:29 -0700
committerGitHub <noreply@github.com>2025-04-30 16:57:29 -0700
commit4bc7bac8842582cc1239373994327d5537155ec0 (patch)
treeb04ebdcbd03196824263f329158e7a66cad9297c /runtime/lua/vim/_ftplugin/lua.lua
parent71f3a9c5900fa1882a77f2300baac462a5bf480f (diff)
downloadrneovim-4bc7bac8842582cc1239373994327d5537155ec0.tar.gz
rneovim-4bc7bac8842582cc1239373994327d5537155ec0.tar.bz2
rneovim-4bc7bac8842582cc1239373994327d5537155ec0.zip
feat(lsp): start/stop LSPs as necessary during vim.lsp.enable() #33702
Problem: enable() could be more flexible, so that it works even if called "late". Solution: - enable(true) calls `doautoall nvim.lsp.enable FileType`. - enable(false) calls `client:stop()` on matching clients. This will be useful for e.g. :LspStop/:LspStart also.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions