feat(lsp): Add neodev to help authoring my neovim config

This commit is contained in:
kalmenn 2024-02-29 19:06:28 +01:00
parent 570e79b076
commit 572d406e9e
Signed by: kalmenn
GPG key ID: F500055C44BC3834
2 changed files with 9 additions and 1 deletions

View file

@ -13,8 +13,9 @@
"mason-lspconfig.nvim": { "branch": "main", "commit": "0954d7730e749d606ddf8d7ae8846848be435d53" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "0954d7730e749d606ddf8d7ae8846848be435d53" },
"mason-null-ls.nvim": { "branch": "main", "commit": "a1e19bf9baa86e8a43dd86cf9689ca9f71b4d1da" }, "mason-null-ls.nvim": { "branch": "main", "commit": "a1e19bf9baa86e8a43dd86cf9689ca9f71b4d1da" },
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, "mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
"neo-tree-diagnostics.nvim": { "branch": "main", "commit": "483019d251c31acd14102bc279f938f98d9a3de6" }, "neo-tree-diagnostics.nvim": { "branch": "main", "commit": "d183d65acd7591443f5259c3cafd06530402ca00" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "f3941c57ec85d7bdb44fa53fd858fd80f159018f" }, "neo-tree.nvim": { "branch": "v3.x", "commit": "f3941c57ec85d7bdb44fa53fd858fd80f159018f" },
"neodev.nvim": { "branch": "main", "commit": "84e0290f5600e8b89c0dfcafc864f45496a53400" },
"none-ls.nvim": { "branch": "main", "commit": "c10b7be7751aee820a02f2d1fafe76bc316fe223" }, "none-ls.nvim": { "branch": "main", "commit": "c10b7be7751aee820a02f2d1fafe76bc316fe223" },
"nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" }, "nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" },
"nvim": { "branch": "main", "commit": "c2034f7b549152e5cc757820426341ea5000bc7a" }, "nvim": { "branch": "main", "commit": "c2034f7b549152e5cc757820426341ea5000bc7a" },

View file

@ -14,6 +14,12 @@ end
return { return {
{ import = "plugins/languages" }, { import = "plugins/languages" },
{
"folke/neodev.nvim",
opts = {
lspconfig = false,
},
},
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
opts = {}, opts = {},
@ -80,6 +86,7 @@ return {
end, end,
["lua_ls"] = function() ["lua_ls"] = function()
lspconfig.lua_ls.setup({ lspconfig.lua_ls.setup({
before_init = require("neodev.lsp").before_init,
capabilities = capabilities, capabilities = capabilities,
settings = { settings = {
Lua = { Lua = {