mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 20:17:45 +00:00
Add Cull language options
This commit is contained in:
parent
2613e4af27
commit
aea4c65e3a
1 changed files with 23 additions and 7 deletions
|
@ -5,15 +5,31 @@
|
|||
programs.nushell.shellAliases.x = "hx";
|
||||
|
||||
programs.helix = enabled {
|
||||
languages.language = [{
|
||||
name = "nix";
|
||||
languages.language = [
|
||||
{
|
||||
name = "nix";
|
||||
|
||||
auto-format = false;
|
||||
formatter.command = "alejandra";
|
||||
formatter.args = [ "-" ];
|
||||
auto-format = false;
|
||||
formatter.command = "alejandra";
|
||||
formatter.args = [ "-" ];
|
||||
|
||||
language-servers = [ "nixd" ];
|
||||
}];
|
||||
language-servers = [ "nixd" ];
|
||||
}
|
||||
{
|
||||
name = "cull";
|
||||
injection-regex = "cull";
|
||||
scope = "scope.cull";
|
||||
|
||||
comment-token = "#";
|
||||
indent.unit = "\t";
|
||||
indent.tab-width = 4;
|
||||
|
||||
file-types = [ "cull" ];
|
||||
roots = [ "build.cull" ];
|
||||
|
||||
grammar = "python";
|
||||
}
|
||||
];
|
||||
|
||||
languages.language-server.nixd.command = "nixd";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue