You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

187 lines
4.3 KiB
TOML

[language-server.biome]
command = "biome"
args = ["lsp-proxy"]
7 months ago
[language-server.efm]
command = "efm-langserver"
[language-server.roc_lang_server]
command = "roc_lang_server"
args = []
7 months ago
[language-server.graphql-language-service]
command = "graphql-lsp"
args = ["server", "-m", "stream"]
[language-server.typescript-language-server.config.preferences]
disableSuggestions = true
7 months ago
[language-server.nu-lsp]
command = "nu"
args = ["-I", "~/.config/nushell/scripts", "--lsp"]
4 months ago
[language-server.pug-lsp]
command = "pug-lsp"
args = []
[language-server.astro-lsp]
command = "/usr/lib/node_modules/@astrojs/language-server/bin/nodeServer.js"
args = ["--stdio"]
[language-server.vls]
command = "vls"
args = []
7 months ago
# languages
[[language]]
name = "typescript"
7 months ago
language-servers = ["typescript-language-server", "biome", "graphql-language-service", { name = "efm", only-features = ["diagnostics", "format"]}]
auto-format = true
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.ts"] }
indent = { tab-width = 4, unit = " " }
7 months ago
[[language]]
name = "javascript"
7 months ago
language-servers = ["typescript-language-server", "biome", { name = "efm", only-features = ["diagnostics", "format"]}]
auto-format = true
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.js"] }
indent = { tab-width = 4, unit = " " }
7 months ago
[[language]]
name = "json"
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.json"] }
10 months ago
7 months ago
10 months ago
[[language]]
name = "handlebars"
injection-regex = "hbs"
roots = ["package.json", "repo.toml", "dir.toml"]
file-types = ["hbs", "tmpl"]
grammar = "glimmer"
language-servers = ["ember"]
formatter = { command = "prettier", args = ['--parser', 'glimmer'] }
scope = "source.glimmer"
[[grammar]]
name = "glimmer"
source = { git = "https://github.com/alexlafroscia/tree-sitter-glimmer", rev = "f9746dc1d0707717fbba84cb5c22a71586af23e1" }
[[language]]
name = "roc"
language-servers = ["roc_lang_server"]
auto-format = true
indent = { tab-width = 4, unit = " " }
file-types = ["roc"]
shebangs = ["roc"]
scope = "source.roc"
comment-token = "#"
roots = []
formatter = { command = "roc", args = ['format', '--stdin', '--stdout'] }
grammar = "roc"
7 months ago
[[language]]
name = "bash"
auto-format = true
formatter = { command = "shfmt", args = ["-s", "-sr", "-"]}
[language.auto-pairs]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'
[[grammar]]
name = "roc"
source = { git = "https://github.com/faldor20/tree-sitter-roc", rev = "381743cd40ee19a9508c6445aacb9085d4bc0cf8" }
[[language]]
name = "nu"
scope = "source.nu"
injection-regex = "nu"
file-types = ["nu", "nuon"]
shebangs = ["nu"]
comment-token = "#"
indent = { tab-width = 2, unit = " " }
language-servers = [ "nu-lsp" ]
[[grammar]]
name = "nu"
source = { git = "https://github.com/nushell/tree-sitter-nu", rev = "358c4f509eb97f0148bbd25ad36acc729819b9c1" }
[[language]]
name = "markdown"
# formatter = { command = "comrak", args = ["-t", "commonmark", "--gfm", "--unsafe", "-e", "table"] }
formatter = { command = "prettier", args = ["--stdin-filepath=source.md"] }
4 months ago
[[language]]
name = "kdl"
auto-format = true
formatter = { command = "kdlfmt" }
[[language]]
name = "pug"
language-servers = ["pug-lsp"]
auto-format = true
indent = { tab-width = 4, unit = " " }
file-types = ["pug"]
scope = "source.pug"
comment-token = "//"
roots = []
grammar = "pug"
[language.auto-pairs]
'(' = ')'
'{' = '}'
'[' = ']'
'"' = '"'
[[grammar]]
name = "pug"
source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "a7ff31a38908df9b9f34828d21d6ca5e12413e18" }
[[language]]
name = "astro"
language-servers = [ "astro-lsp" ]
[[language]]
name = "jora"
injection-regex = "(jr|jora)"
auto-format = true
indent = { tab-width = 4, unit = " " }
file-types = ["jora"]
scope = "source.jora"
comment-token = "//"
roots = []
grammar = "jora"
[[grammar]]
name = "jora"
# source = { git = "git@gitlab.unitb.com:jri/tree-sitter-jora.git", rev = "3c65fd8a368818a2300ac4dee8f4801db9dd28e1" }
source = { path = "/home/jri/Dokumente/Programming/sonstiges/tree-sitter-jora"}
[[language]]
name = "vue"
auto-format = true
formatter = { command = "biome" , args = ["format", "--stdin-file-path=file.vue"] }
language-servers = [ "vls" ]
[[language]]
name = "env"
file-types = [{ glob = ".env" }, { glob = ".env.*" }, { glob = ".envrc" }, { glob = ".envrc.*" }, { glob = "*.env" }]