This commit is contained in:
Daniel Flanagan 2022-12-01 10:30:21 -06:00
parent 53e237edd5
commit b23665dd33
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 19 additions and 4 deletions

View file

@ -14,12 +14,12 @@ set --export --universal MANPAGER "less"
set --universal fish_cursor_insert line set --universal fish_cursor_insert line
if command --search --quiet helix if command --search --quiet hx
set --export --universal EDITOR helix
set --export --universal VISUAL helix
else if command --search --quiet hx
set --export --universal EDITOR hx set --export --universal EDITOR hx
set --export --universal VISUAL hx set --export --universal VISUAL hx
else if command --search --quiet helix
set --export --universal EDITOR helix
set --export --universal VISUAL helix
else if command --search --quiet nvim else if command --search --quiet nvim
set --export --universal EDITOR nvim set --export --universal EDITOR nvim
set --export --universal VISUAL nvim set --export --universal VISUAL nvim

View file

@ -33,3 +33,18 @@ auto-format = true
[[language]] [[language]]
name = "elixir" name = "elixir"
auto-format = true auto-format = true
[[language]]
name = "nim"
scope = "source.nim"
injection-regex = "nim"
file-types = ["nim","nims"]
shebangs = ["nim"]
roots = []
comment-token = "#"
language-server = { command = "nimlangserver" }
indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "nim"
source = { git = "https://github.com/aMOPel/tree-sitter-nim", rev = "8ce3627827e45a5835004391ff5ffcfe029ae6cf" }