NIM
This commit is contained in:
parent
53e237edd5
commit
b23665dd33
|
@ -14,12 +14,12 @@ set --export --universal MANPAGER "less"
|
|||
|
||||
set --universal fish_cursor_insert line
|
||||
|
||||
if command --search --quiet helix
|
||||
set --export --universal EDITOR helix
|
||||
set --export --universal VISUAL helix
|
||||
else if command --search --quiet hx
|
||||
if command --search --quiet hx
|
||||
set --export --universal EDITOR 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
|
||||
set --export --universal EDITOR nvim
|
||||
set --export --universal VISUAL nvim
|
||||
|
|
|
@ -33,3 +33,18 @@ auto-format = true
|
|||
[[language]]
|
||||
name = "elixir"
|
||||
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