Replaced neodev with lazydev
This commit is contained in:
@@ -3,11 +3,9 @@ return {
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"folke/neodev.nvim",
|
||||
},
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = function()
|
||||
local neodev = require("neodev")
|
||||
local lspconfig = require("lspconfig")
|
||||
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
||||
|
||||
@@ -20,20 +18,6 @@ return {
|
||||
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
|
||||
end
|
||||
|
||||
neodev.setup({
|
||||
library = {
|
||||
enabled = true,
|
||||
runtime = true,
|
||||
types = true,
|
||||
plugins = {
|
||||
"lazy.nvim",
|
||||
},
|
||||
},
|
||||
setup_jsonls = false,
|
||||
lspconfig = true,
|
||||
pathStrict = true,
|
||||
})
|
||||
|
||||
local defaultLsps = { "html", "cssls", "pyright", "jsonls", "rust_analyzer", "yamlls", "eslint" }
|
||||
|
||||
for _, lsp in ipairs(defaultLsps) do
|
||||
|
||||
Reference in New Issue
Block a user