added helix config for bqn

This commit is contained in:
twoneis 2024-01-31 21:49:20 +01:00
parent 5f29764d62
commit 4c54c966aa

View file

@ -1,7 +1,18 @@
{ {
language-server.asm-lsp = { language-server = {
asm-lsp = {
command = "asm-lsp"; command = "asm-lsp";
}; };
bqnlsp = {
command = "bqnlsp";
};
};
grammar = [{
name = "bqn";
source.git = "https://github.com/shnarazk/tree-sitter-bqn";
source.rev = "f0e2f74ba75c6bf0a143a1d3870317c9c8064af9";
}];
language = [{ language = [{
name = "gas"; name = "gas";
@ -11,5 +22,16 @@
indent = { tab-width = 8; unit = " "; }; indent = { tab-width = 8; unit = " "; };
roots = []; roots = [];
file-types = ["S"]; file-types = ["S"];
} {
name = "bqn";
file-types = [ "bqn" ];
comment-token = "#";
indent = { tab-width = 4; unit = " "; };
shebangs = [ "bqn" "cbqn" ];
roots = [];
injection-regex = "bqn";
scope = "scope.bqn";
language-servers = [ "bqnlsp" ];
language-id = "bqn";
}]; }];
} }