nvim: 添加所需要的程式語言,並把官方設定範例抄過來

This commit is contained in:
2025-05-05 19:55:44 +08:00
parent 7594bbc120
commit f0a8c49074
5 changed files with 58 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
return {
cmd = { "vscode-css-language-server", "--stdio" },
filetypes = { "css", "scss", "less" },
init_options = {
provideFormatter = true
},
root_markers = { "package.json", ".git" },
settings = {
css = {
validate = true
},
less = {
validate = true
},
scss = {
validate = true
}
},
}