Aktualizovat languages.toml

This commit is contained in:
Kankys 2024-03-12 19:05:37 +00:00
parent 52eecc7e18
commit 014b373492

View File

@ -14,14 +14,33 @@ command = "clippy"
args = ["--stdio"] args = ["--stdio"]
command="emmet-ls" command="emmet-ls"
[language-server.eslint]
args = ["--stdio"]
command = "vscode-eslint-language-server"
[[language]] [[language]]
name = "html" name = "html"
formatter = { command = 'prettier', args = ["--parser", "html"] } formatter = { command = 'prettier', args = ["--parser", "html"] }
language-servers = ["vscode-html-language-server", "emmet-ls"] language-servers = ["vscode-html-language-server", "emmet-ls"]
[language-server.vscode-css-language-server.config]
css = { validate = { enable = true } }
scss = { validate = { enable = true } }
less = { validate = { enable = true } }
provideFormatter = true
[[language]] [[language]]
name = "css" name = "css"
formatter = { command = 'prettier', args = ["--parser", "css"] } formatter = { command = 'npx', args = ["prettier", "--parser", "css"] }
language-servers = [ "vscode-css-language-server", "tailwindcss-react", "emmet-ls", "tailwindcss-ls"]
auto-format = true
[[language]]
name = "scss"
formatter = { command = "prettier", args = ["--stdin-filepath", "dummy.scss"] }
indent = { tab-width = 4, unit = "\t" }
language-servers = ["vscode-css-language-server"]
auto-format = true
[[language]] [[language]]
name = "javascript" name = "javascript"