better telescope config

This commit is contained in:
Miguel Palhas
2024-10-08 09:56:24 +01:00
parent f2ac3c44de
commit 9a426b476c
7 changed files with 176 additions and 60 deletions
+3
View File
@@ -6,10 +6,13 @@ local lspconfig = require "lspconfig"
local servers = { "html", "cssls", "lua_ls", "biome" }
local nvlsp = require "nvchad.configs.lspconfig"
vim.lsp.inlay_hint.enable()
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {
on_attach = nvlsp.on_attach,
on_init = nvlsp.on_init,
capabilities = nvlsp.capabilities,
inlay_hints = { enable = true },
}
end