nvim
This commit is contained in:
parent
83d6e3f7cf
commit
bda21856b1
10 changed files with 155 additions and 0 deletions
24
.config/nvim/lua/plugins/lsp.lua
Normal file
24
.config/nvim/lua/plugins/lsp.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
-- LSP Support
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
cmd = "Mason",
|
||||
build = ":MasonUpdate",
|
||||
},
|
||||
},
|
||||
---@class PluginLspOpts
|
||||
opts = {
|
||||
---@type lspconfig.options
|
||||
servers = {
|
||||
lua_ls = {
|
||||
settings = { Lua = { diagnostics = { globals = { "vim" }}}},
|
||||
},
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("mason").setup()
|
||||
end
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue