parent
afb3a5c332
commit
b0c9047f73
14
config.nix
14
config.nix
|
@ -183,17 +183,10 @@
|
||||||
{
|
{
|
||||||
name = "typst";
|
name = "typst";
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
scope = "source.typst";
|
|
||||||
injection-regex = "typst";
|
|
||||||
file-types = ["typ"];
|
|
||||||
roots = [];
|
|
||||||
comment-token = "//";
|
|
||||||
formatter.command = "${typst-fmt}/bin/typstfmt";
|
formatter.command = "${typst-fmt}/bin/typstfmt";
|
||||||
language-servers = ["typst"];
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
language-server = {
|
language-server = {
|
||||||
typst.command = "${typst-lsp}/bin/typst-lsp";
|
|
||||||
nil.config.nil.nix.flake.autoEvalInputs = true;
|
nil.config.nil.nix.flake.autoEvalInputs = true;
|
||||||
gpt = {
|
gpt = {
|
||||||
command = "${helix-gpt}";
|
command = "${helix-gpt}";
|
||||||
|
@ -220,12 +213,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
grammars = [
|
grammars = [
|
||||||
{
|
|
||||||
name = "typst";
|
|
||||||
url = "https://github.com/uben0/tree-sitter-typst";
|
|
||||||
rev = "791cac478226e3e78809b67ff856010bde709594";
|
|
||||||
sha256 = "sha256-YI+EyLKvw1qg122aH1UCggTQtDT8TioSau6GGRwWktc=";
|
|
||||||
queries = "queries";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1708751719,
|
"lastModified": 1712192574,
|
||||||
"narHash": "sha256-0uWOKSpXJXmXswOvDM5Vk3blB74apFB6rNGWV5IjoN0=",
|
"narHash": "sha256-LbbVOliJKTF4Zl2b9salumvdMXuQBr2kuKP5+ZwbYq4=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f63ce824cd2f036216eb5f637dfef31e1a03ee89",
|
"rev": "f480f9d09e4b4cf87ee6151eba068197125714de",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Reference in New Issue