Skip to content

Commit

Permalink
fix: neodev needs to be loaded as dep of nvim-lspconfig (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjenni authored Jan 29, 2024
1 parent 2992d29 commit 6189960
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions nvim/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@

return {
{
"folke/neodev.nvim",
-- neodev needs to start before nvim-lspconfig
priority = 1000,
config = function()
require("neodev").setup({})
end,
},

{
"williamboman/mason.nvim",
config = function()
Expand All @@ -28,9 +19,9 @@ return {
{
"neovim/nvim-lspconfig",
dependencies = {
"folke/neodev.nvim",
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
"folke/neodev.nvim",
"j-hui/fidget.nvim",
},
config = function()
Expand All @@ -44,6 +35,13 @@ return {
end
},

{
"folke/neodev.nvim",
config = function()
require("neodev").setup({})
end,
},

{
"j-hui/fidget.nvim",
config = function()
Expand Down

0 comments on commit 6189960

Please sign in to comment.