gas config for helix
This commit is contained in:
parent
a00a2c30c2
commit
a7049dcc52
2 changed files with 16 additions and 0 deletions
|
@ -4,5 +4,6 @@
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
extraPackages = with pkgs; [ nil marksman ];
|
extraPackages = with pkgs; [ nil marksman ];
|
||||||
settings = import ./helix-config.nix;
|
settings = import ./helix-config.nix;
|
||||||
|
languages = import ./helix-languages.nix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
15
modules/home/editor/helix-languages.nix
Normal file
15
modules/home/editor/helix-languages.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
language-server.asm-lsp = {
|
||||||
|
command = "asm-lsp";
|
||||||
|
};
|
||||||
|
|
||||||
|
language = [{
|
||||||
|
name = "gas";
|
||||||
|
scope = "source.gas";
|
||||||
|
auto-format = false;
|
||||||
|
language-servers = [ "asm-lsp" ];
|
||||||
|
indent = { tab-width = 8; unit = " "; };
|
||||||
|
roots = [];
|
||||||
|
file-types = ["S"];
|
||||||
|
}];
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue