mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 10:26:42 +10:00
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.