Aktualizovat languages.toml
This commit is contained in:
parent
5b9798d747
commit
aaf1d93aea
@ -2,10 +2,10 @@
|
|||||||
command = "emmet-language-server"
|
command = "emmet-language-server"
|
||||||
args = ["--stdio"]
|
args = ["--stdio"]
|
||||||
|
|
||||||
[[language]]
|
# [[language]]
|
||||||
name = "html"
|
# name = "html"
|
||||||
roots = [".git"]
|
# roots = [".git"]
|
||||||
language-servers = ["emmet-lsp"]
|
# language-servers = ["emmet-lsp"]
|
||||||
|
|
||||||
[language-server.rust-analyzer.config.check]
|
[language-server.rust-analyzer.config.check]
|
||||||
command = "clippy"
|
command = "clippy"
|
||||||
@ -21,7 +21,9 @@ command = "clippy"
|
|||||||
[[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", "emmet-lsp"]
|
||||||
|
auto-format = true
|
||||||
|
# diagnostic-severity = ["Error", "Warning", "Info", "Hint"]
|
||||||
|
|
||||||
[language-server.vscode-css-language-server.config]
|
[language-server.vscode-css-language-server.config]
|
||||||
css = { validate = { enable = true } }
|
css = { validate = { enable = true } }
|
||||||
@ -46,6 +48,7 @@ language-servers = ["vscode-html-language-server", "emmet-ls"]
|
|||||||
name = "javascript"
|
name = "javascript"
|
||||||
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
|
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
# diagnostic-severity = ["Error", "Warning", "Info", "Hint"]
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "typescript"
|
name = "typescript"
|
||||||
@ -73,3 +76,4 @@ name = "markdown"
|
|||||||
formatter = { command = 'prettier', args = ["--parser", "markdown"] }
|
formatter = { command = 'prettier', args = ["--parser", "markdown"] }
|
||||||
soft-wrap.enable = true
|
soft-wrap.enable = true
|
||||||
soft-wrap.wrap-at-text-width = true
|
soft-wrap.wrap-at-text-width = true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user