(nvim) configure cssls and css_variables
This commit is contained in:
parent
d7c5d44ef4
commit
2925f73722
1 changed files with 9 additions and 2 deletions
|
|
@ -112,6 +112,8 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
cssls = {},
|
||||
css_variables = {},
|
||||
tailwindcss = {
|
||||
filetypes = {
|
||||
"templ",
|
||||
|
|
@ -136,7 +138,7 @@ return {
|
|||
local profiles = {
|
||||
base = { "yamlfmt" },
|
||||
lua = { "lua_ls", "stylua" },
|
||||
web = { "ts_ls", "tailwindcss", "biome", "intelephense", "templ" },
|
||||
web = { "ts_ls", "tailwindcss", "biome", "intelephense", "templ", "cssls", "css_variables" },
|
||||
go = { "gopls", "goimports" },
|
||||
rust = { "rust_analyzer" },
|
||||
zig = { "zls" },
|
||||
|
|
@ -148,7 +150,12 @@ return {
|
|||
local tools = profiles[profile_name]
|
||||
|
||||
if not tools then
|
||||
print("Profile '" .. profile_name .. "' not found. Available: " .. table.concat(vim.tbl_keys(profiles), ", "))
|
||||
print(
|
||||
"Profile '"
|
||||
.. profile_name
|
||||
.. "' not found. Available: "
|
||||
.. table.concat(vim.tbl_keys(profiles), ", ")
|
||||
)
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue