Skip to content

Commit

Permalink
lsp(lua): update neodev setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Apr 5, 2024
1 parent a159127 commit 979024a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lua/nxvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ local modules = {
{ "tknightz/telescope-termfinder.nvim", lazy = true },

-- LSP / Formatters ----------------------------------------------------------
{ "folke/neodev.nvim" },
{ "folke/neodev.nvim", config = true },
{ "neovim/nvim-lspconfig", config = "lsp.plugins.lspconfig" },
{ "jose-elias-alvarez/null-ls.nvim", config = "lsp.plugins.null-ls" }, -- inject external formatters and linters
{ "glepnir/lspsaga.nvim", event = "VeryLazy", config = "lsp.plugins.lspsaga" },
Expand Down
1 change: 0 additions & 1 deletion lua/nxvim/lsp/plugins/mason/lspconfig.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
-- https://github.com/williamboman/mason-lspconfig.nvim

require("neodev").setup({ pathStrict = false })
local mason_lspconfig = require("mason-lspconfig")
local lspconfig = require("lspconfig")

Expand Down
5 changes: 2 additions & 3 deletions lua/nxvim/lsp/settings/lua_ls.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ return {
enable = false,
},
-- use neodev to setup workspace
workspace = {
--[[ workspace = {
library = {
-- vim.fn.stdpath("data"),
vim.fn.stdpath("config") .. "/lua",
},
},
}, ]]
},
},
}

0 comments on commit 979024a

Please sign in to comment.