feat(lsp): Add neodev to help authoring my neovim config
This commit is contained in:
parent
570e79b076
commit
572d406e9e
|
@ -13,8 +13,9 @@
|
|||
"mason-lspconfig.nvim": { "branch": "main", "commit": "0954d7730e749d606ddf8d7ae8846848be435d53" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "a1e19bf9baa86e8a43dd86cf9689ca9f71b4d1da" },
|
||||
"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" },
|
||||
"neodev.nvim": { "branch": "main", "commit": "84e0290f5600e8b89c0dfcafc864f45496a53400" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "c10b7be7751aee820a02f2d1fafe76bc316fe223" },
|
||||
"nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" },
|
||||
"nvim": { "branch": "main", "commit": "c2034f7b549152e5cc757820426341ea5000bc7a" },
|
||||
|
|
|
@ -14,6 +14,12 @@ end
|
|||
|
||||
return {
|
||||
{ import = "plugins/languages" },
|
||||
{
|
||||
"folke/neodev.nvim",
|
||||
opts = {
|
||||
lspconfig = false,
|
||||
},
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = {},
|
||||
|
@ -80,6 +86,7 @@ return {
|
|||
end,
|
||||
["lua_ls"] = function()
|
||||
lspconfig.lua_ls.setup({
|
||||
before_init = require("neodev.lsp").before_init,
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
Lua = {
|
||||
|
|
Loading…
Reference in a new issue