NIM
This commit is contained in:
parent
53e237edd5
commit
b23665dd33
2 changed files with 19 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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" }
|
Reference in a new issue