This commit is contained in:
dlsaldanas 2025-12-16 12:10:46 -03:00
parent 0f40c264cb
commit 7f0f862b1f
2 changed files with 20 additions and 7 deletions

View File

@ -20,7 +20,7 @@ return {
-- have a well standardized coding style. You can add additional
-- languages here or re-enable it for the disabled ones.
print('aa', vim.bo[bufnr].filetype)
local disable_filetypes = { c = true, cpp = true, javascript = true, typescript = true, javascriptreact = true, typescriptreact = true }
local disable_filetypes = { c = true, cpp = true, javascript = true, typescript = true, javascriptreact = true, typescriptreact = true, css = true }
if disable_filetypes[vim.bo[bufnr].filetype] then
return nil
else

View File

@ -208,17 +208,29 @@ return {
-- - settings (table): Override the default settings passed when initializing the server.
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
local servers = {
biome = {},
clangd = {},
helm_ls = {},
jsonls = {
init_options = {
provideFormatter = true,
},
},
-- this is extracted from vscode i cant find a way to deactivete the format on save
-- jsonls = {
-- capabilities = {
-- init_options = {
-- provideFormatter = false,
-- },
-- },
-- },
cssls = {},
eslint = {},
bashls = {},
vtsls = {},
-- deno = {},
vtsls = {
javascript = {
preferences = {
importModuleSpecifier = 'relative',
jsxAttributeCompletionStyle = 'auto',
},
},
},
nginx_language_server = {},
gitlab_ci_ls = {},
lua_ls = {
@ -235,6 +247,7 @@ return {
},
},
},
dockerls = {},
}
-- Ensure the servers and tools above are installed