mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
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:
parent
d147606a35
commit
1ed6fd9f58
46 changed files with 102 additions and 81 deletions
|
@ -26,12 +26,22 @@
|
|||
config.vim = {
|
||||
theme.enable = true;
|
||||
|
||||
lsp = {
|
||||
# Enable LSP functionality globally. This is required for modules found
|
||||
# in `vim.languages` to enable relevant LSPs.
|
||||
enable = true;
|
||||
|
||||
# You may define your own LSP configurations using `vim.lsp.servers` in
|
||||
# nvf without ever needing lspconfig to do it. This will use the native
|
||||
# API provided by Neovim > 0.11
|
||||
servers = {};
|
||||
};
|
||||
|
||||
# Language support and automatic configuration of companion plugins.
|
||||
# Note that enabling, e.g., languages.<lang>.diagnostics will automatically
|
||||
# enable top-level options such as enableLSP or enableExtraDiagnostics as
|
||||
# they are needed.
|
||||
languages = {
|
||||
enableLSP = true;
|
||||
enableFormat = true;
|
||||
enableTreesitter = true;
|
||||
enableExtraDiagnostics = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue