Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'languages.toml')
| -rw-r--r-- | languages.toml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 37201559..8094641f 100644 --- a/languages.toml +++ b/languages.toml @@ -139,6 +139,7 @@ solc = { command = "solc", args = ["--lsp"] } sourcekit-lsp = { command = "sourcekit-lsp" } spade-language-server = {command = "spade-language-server"} starpls = {command = "starpls"} +styx = { command = "styx", args = ["lsp"] } svlangserver = { command = "svlangserver", args = [], config.systemverilog.includeIndexing = ["*.{v,vh,sv,svh}", "**/*.{v,vh,sv,svh}"] } swipl = { command = "swipl", args = [ "-g", "use_module(library(lsp_server))", "-g", "lsp_server:main", "-t", "halt", "--", "stdio" ] } superhtml = { command = "superhtml", args = ["lsp"]} @@ -5317,6 +5318,26 @@ indent = { tab-width = 4, unit=" "} name = "klog" source = { git = "https://github.com/Ansimorph/tree-sitter-klog/", rev = "0b215fe75bdeb8368546e3cee36aca8c19212d06" } +[[language]] +name = "styx" +scope = "source.styx" +injection-regex = "styx" +file-types = ["styx"] +comment-tokens = ["//", "///"] +language-servers = ["styx"] +indent = { tab-width = 2, unit = " " } +auto-format = true + +[language.auto-pairs] +'(' = ')' +'{' = '}' +'"' = '"' +"'" = "'" + +[[grammar]] +name = "styx" +source = { git = "https://github.com/bearcove/styx", subpath = "crates/tree-sitter-styx" , rev = "ff7f49629a20a308111810a0c5e6228617133ea7" } + # https://docs.tilt.dev/editor.html [[language]] name = "tilt" |