mirror of
https://github.com/Derisis13/dotfiles.git
synced 2026-02-01 07:44:50 +01:00
13 lines
427 B
Lua
Executable File
13 lines
427 B
Lua
Executable File
local on_attach = require("nvchad.configs.lspconfig").on_attach
|
|
local capabilities = require("nvchad.configs.lspconfig").capabilities
|
|
|
|
-- if you just want default config for the servers then put them in a table
|
|
local servers = { "hyprls", "lua-language-server", "clangd", "basedpyright", "vhdl_ls" }
|
|
|
|
for _, lsp in ipairs(servers) do
|
|
vim.lsp.config(lsp, {
|
|
on_attach = on_attach,
|
|
capabilities = capabilities,
|
|
})
|
|
end
|