365 current 2024-04-16 15:23:54 24.05.20240416.c04952a 6.8.4-zen1 *
This commit is contained in:
parent
08286cad04
commit
f17b4468d2
2 changed files with 36 additions and 36 deletions
|
|
@ -12,9 +12,9 @@ local make_config = function(name, config)
|
|||
end
|
||||
|
||||
-- Default handler
|
||||
M[1] = function(server_name)
|
||||
make_config(server_name, {})()
|
||||
end
|
||||
-- M[1] = function(server_name)
|
||||
-- make_config(server_name, {})()
|
||||
-- end
|
||||
|
||||
M.lua_ls = make_config("lua_ls", {
|
||||
settings = {
|
||||
|
|
@ -29,29 +29,29 @@ M.lua_ls = make_config("lua_ls", {
|
|||
},
|
||||
})
|
||||
|
||||
-- M.cssls = make_config("cssls", {
|
||||
-- settings = {
|
||||
-- css = {
|
||||
-- validate = true,
|
||||
-- lint = {
|
||||
-- unknownAtRules = "ignore",
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- })
|
||||
--
|
||||
-- M.tailwindcss = make_config("tailwindcss", {
|
||||
-- on_attach = function()
|
||||
-- local bufnr = vim.api.nvim_get_current_buf()
|
||||
-- require("document-color").buf_attach(bufnr)
|
||||
-- end,
|
||||
-- })
|
||||
--
|
||||
-- M.clangd = make_config("clangd", {
|
||||
-- cmd = {
|
||||
-- "clangd",
|
||||
-- "--offset-encoding=utf-16",
|
||||
-- },
|
||||
-- })
|
||||
M.cssls = make_config("cssls", {
|
||||
settings = {
|
||||
css = {
|
||||
validate = true,
|
||||
lint = {
|
||||
unknownAtRules = "ignore",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
M.tailwindcss = make_config("tailwindcss", {
|
||||
on_attach = function()
|
||||
local bufnr = vim.api.nvim_get_current_buf()
|
||||
require("document-color").buf_attach(bufnr)
|
||||
end,
|
||||
})
|
||||
|
||||
M.clangd = make_config("clangd", {
|
||||
cmd = {
|
||||
"clangd",
|
||||
"--offset-encoding=utf-16",
|
||||
},
|
||||
})
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue