languages: deprecate vim.languages.enableLSP

This change is done in favor of our intentions to use the new API Neovim has exposed, and the one we are exposing to match theirs.
This commit is contained in:
raf 2025-05-04 17:58:22 +03:00
commit 1ed6fd9f58
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
46 changed files with 102 additions and 81 deletions

View file

@ -18,6 +18,10 @@ isMaximal: {
};
lsp = {
# This must be enabled for the language modules to hook into
# the LSP API.
enable = true;
formatOnSave = true;
lspkind.enable = false;
lightbulb.enable = true;
@ -38,8 +42,7 @@ isMaximal: {
# This section does not include a comprehensive list of available language modules.
# To list all available language module options, please visit the nvf manual.
languages = {
enableLSP = true;
enableFormat = true;
enableFormat = true; #
enableTreesitter = true;
enableExtraDiagnostics = true;