fix: replace deprecated neodev with lazydev
This commit is contained in:
parent
bd1a25fd95
commit
4cbdafc642
2 changed files with 2 additions and 10 deletions
|
@ -84,7 +84,7 @@
|
|||
nvim-lspconfig
|
||||
lsp-status-nvim
|
||||
rustaceanvim
|
||||
neodev-nvim
|
||||
lazydev-nvim
|
||||
none-ls-nvim
|
||||
lsp_lines-nvim
|
||||
lsp-inlayhints-nvim
|
||||
|
|
|
@ -52,15 +52,7 @@ lsp_status.config({
|
|||
})
|
||||
lsp_status.register_progress()
|
||||
|
||||
-- setup lua language server for init.nvim and nvim plugin development
|
||||
require("neodev").setup({
|
||||
override = function(root_dir, options)
|
||||
if require("neodev.util").has_file(root_dir, "/etc/nixos") then
|
||||
options.enabled = true
|
||||
options.plugins = true
|
||||
end
|
||||
end,
|
||||
})
|
||||
require('lazydev').setup()
|
||||
|
||||
local capabilities = require("cmp_nvim_lsp").default_capabilities(lsp_status.capabilities)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue