Merge branch 'main' of ssh://git.trivernis.net:22321/Trivernis/dotfiles-silo

main
trivernis 5 months ago
commit d3fbca924b
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -31,6 +31,9 @@ args = []
command = "/usr/lib/node_modules/@astrojs/language-server/bin/nodeServer.js"
args = ["--stdio"]
[language-server.vls]
command = "vls"
args = []
# languages
@ -153,6 +156,31 @@ source = { git = "https://github.com/zealot128/tree-sitter-pug", rev = "a7ff31a3
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" }]

@ -0,0 +1,39 @@
[
"{"
"}"
] @punctuation.bracket
(enclosed ["(" ")"] @punctuation.bracket )
(call ["(" ")"] @punctuation.bracket )
(function_name) @function
[
","
":"
"."
] @punctuation.delimiter
["|" "+" "-" "*" "/" "??" "..."] @operator
[
(true)
(false)
(null)
(undefined)
(this)
(root)
] @constant.builtin
(string) @string
(number) @constant.numeric.integer
(property_identifier) @variable.other.member
(dot (identifier) @variable.other.member)
(identifier) @variable
(variable) @variable

@ -0,0 +1,10 @@
(spread
(identifier) @local.definition)
(object
(object_property) @local.definition)
(array
(identifier) @local.definition)
(identifier) @local.reference

@ -2,22 +2,29 @@
# A port of https://github.com/bceskavich/dracula-at-night
"comment" = { fg = "comment" }
"constant" = { fg = "purple" }
"constant.buildin" = { fg = "purple", modifiers = ["italic"] }
"constant.character.escape" = { fg = "pink" }
"function" = { fg = "green" }
"keyword" = { fg = "pink" }
"operator" = { fg = "pink" }
"special" = { fg = "yellow" }
"punctuation" = { fg = "foreground" }
"punctuation.delimiter" = { fg = "foreground_dim" }
"punctuation.bracket" = { fg = "foreground_dim" }
"punctuation.special" = { fg = "orange" }
"string" = { fg = "yellow" }
"string.regexp" = { fg = "red" }
"embedded" = { fg = "orange" }
"tag" = { fg = "pink" }
"attribute" = { fg = "cyan" }
"symbol" = { fg = "cyan" }
"type" = { fg = "cyan", modifiers = ["italic"] }
"type.enum.variant" = { fg = "foreground", modifiers = ["italic"] }
"variable" = { fg = "foreground" }
"variable.other.member" = { fg = "foreground_tint" }
"variable.other.member.private" = { fg = "foreground_tint", modifiers = ["italic"] }
"variable.builtin" = { fg = "cyan", modifiers = ["italic"] }
"variable.parameter" = { fg ="orange", modifiers = ["italic"] }
"variable.parameter" = { fg ="foreground", modifiers = ["italic"] }
"mustache_statement" = { fg = "green" }
"string_literal" = { fg = "yellow" }
"number_literal" = { fg = "purple" }
@ -78,7 +85,9 @@ rainbow = ["#7c5ea3", "#9c5b95", "#9c5e80", "#6b4466"]
[palette]
background = "#3A2A4D"
background_dark = "#2B1C3D"
foreground = "#f8f8f2"
foreground = "#ffffff"
foreground_tint = "#ffd1f8"
foreground_dim = "#acbacd"
ruler = "#453254"
comment = "#886C9C"
hint = "#8a56b0"

@ -1,4 +1,7 @@
$env.PATH = ( $env.PATH
{{#if-installed node}}
| prepend './node_modules/.bin'
{{/if-installed}}
| prepend $'{{dirs.home}}/.local/bin'
{{#if-installed nenv}}
| prepend $'{{dirs.home}}/.local/share/nenv/bin'
@ -12,4 +15,5 @@ $env.PATH = ( $env.PATH
{{#if-installed cargo}}
| prepend $'{{dirs.home}}/.cargo/bin'
{{/if-installed}}
| prepend '{{dirs.home}}/.sst/bin'
)

@ -111,6 +111,9 @@ config.modules = {
'vscode-langservers-extracted',
'nodePackages.typescript-language-server',
},
vue = mod {
'nodePackages.vls',
},
deno = mod {
'deno'
},

Loading…
Cancel
Save