Aktualizovat languages.toml
This commit is contained in:
parent
52eecc7e18
commit
014b373492
@ -1,4 +1,4 @@
|
|||||||
[language-server.emmet-lsp]
|
[language-server.emmet-lsp]
|
||||||
command = "emmet-language-server"
|
command = "emmet-language-server"
|
||||||
args = ["--stdio"]
|
args = ["--stdio"]
|
||||||
|
|
||||||
@ -10,18 +10,37 @@ language-servers = ["emmet-lsp"]
|
|||||||
[language-server.rust-analyzer.config.check]
|
[language-server.rust-analyzer.config.check]
|
||||||
command = "clippy"
|
command = "clippy"
|
||||||
|
|
||||||
[language-server.emmet-ls]
|
[language-server.emmet-ls]
|
||||||
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user