latest
This commit is contained in:
parent
0f40c264cb
commit
7f0f862b1f
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue