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 -- have a well standardized coding style. You can add additional
-- languages here or re-enable it for the disabled ones. -- languages here or re-enable it for the disabled ones.
print('aa', vim.bo[bufnr].filetype) 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 if disable_filetypes[vim.bo[bufnr].filetype] then
return nil return nil
else else

View File

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