diff --git a/home/dot_config/helix/languages.toml b/home/dot_config/helix/languages.toml deleted file mode 100644 index 718fb2a..0000000 --- a/home/dot_config/helix/languages.toml +++ /dev/null @@ -1,81 +0,0 @@ -[[language]] -name = "html" -formatter = { command = 'prettier', args = ["--parser", "html"] } - -[[language]] -name = "css" -formatter = { command = 'prettier', args = ["--parser", "css"] } - -[language-server.vscode-css-language-server.config] -css = { validate = { enable = true } } -scss = { validate = { enable = true } } -less = { validate = { enable = true } } -provideFormatter = true - -[[language]] -name = "yaml" -formatter = { command = 'prettier', args = ["--parser", "yaml"] } - -[language-server.yaml-language-server.config.yaml] -format = { enable = true } -validation = true -completion = true -keyOrdering = false -schemaStore = { enable = true } -editor = { formatOnType = true } - -[language-server.yaml-language-server.config.yaml.schemas] -"https://json.schemastore.org/github-workflow.json" = ".github/workflows/*.{yml,yaml}" - -[[language]] -name = "toml" -formatter = { command = 'dprint fmt' } - -[[language]] -name = "json" -formatter = { command = 'prettier', args = ["--parser", "json"] } - -[language-server.vscode-json-language-server.config] -json = { validate = { enable = true }, format = { enable = true } } -provideFormatter = true - -[[language]] -name = "javascript" -formatter = { command = 'prettier', args = ["--parser", "javascript"] } - -[[language]] -name = "typescript" -formatter = { command = 'prettier', args = ["--parser", "typescript"] } - -[[language]] -name = "tsx" -formatter = { command = 'prettier', args = ["--stdin-filepath", "file.tsx"] } - -[[language]] -name = "typescript" -shebangs = ["deno"] -roots = ["deno.json", "deno.jsonc"] -file-types = ["js", "ts", "jsx", "tsx"] -language-servers = ["deno-lsp"] -auto-format = true - -[language-server.deno-lsp] -command = "deno" -args = ["lsp"] -environment = { NO_COLOR = "1" } - -[language-server.deno-lsp.config.deno] -enable = true - -[[language]] -name = "bash" -indent = { tab-width = 4, unit = " " } -formatter = { command = 'shfmt', args = ["-i", "4"] } - -[[language]] -name = "python" -language-servers = [ "pyright", "ruff" ] -formatter = { command = "ruff", args = ["format", "--quiet", "-"] } - -[language-server.ruff] -command = "ruff-lsp"