Switch to nvchad.
This commit is contained in:
parent
4ffa1ed610
commit
dae4bd3581
21 changed files with 253 additions and 2 deletions
16
_nvchad_custom/configs/lspconfig.lua
Normal file
16
_nvchad_custom/configs/lspconfig.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
local on_attach = require("plugins.configs.lspconfig").on_attach
|
||||
local capabilities = require("plugins.configs.lspconfig").capabilities
|
||||
|
||||
local lspconfig = require "lspconfig"
|
||||
|
||||
-- if you just want default config for the servers then put them in a table
|
||||
local servers = {}
|
||||
|
||||
for _, lsp in ipairs(servers) do
|
||||
lspconfig[lsp].setup {
|
||||
on_attach = on_attach,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
end
|
||||
|
||||
-- lspconfig.pyright.setup { blabla}
|
Loading…
Add table
Add a link
Reference in a new issue