emacs: add typst mode

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Cadey Ratio 2023-05-15 11:20:06 -04:00
parent 85bfdb86ce
commit f7a7995d8e
1 changed files with 31 additions and 22 deletions

View File

@ -288,9 +288,7 @@ in {
fountain-mode = { fountain-mode = {
enable = true; enable = true;
mode = [ mode = [ ''("\\.fountain\\'" . fountain-mode)'' ];
''("\\.fountain\\'" . fountain-mode)''
];
}; };
ivy = { ivy = {
@ -575,15 +573,23 @@ in {
mode = [ ''"\\.toml\\'"'' ]; mode = [ ''"\\.toml\\'"'' ];
}; };
typst-mode = {
enable = true;
mode = [ ''"\\.typ\\'"'' ];
};
zig-mode = { zig-mode = {
enable = true; enable = true;
mode = [ ''"\\.zig\\'"'' ]; mode = [ ''"\\.zig\\'"'' ];
}; };
shell-maker.enable = true;
## custom shit ## custom shit
change-case = { change-case = {
enable = true; enable = true;
package = (epkgs: epkgs.trivialBuild { package = (epkgs:
epkgs.trivialBuild {
pname = "change-case"; pname = "change-case";
src = ./packages/change-case.el; src = ./packages/change-case.el;
}); });
@ -592,7 +598,8 @@ in {
tclip = { tclip = {
enable = true; enable = true;
after = [ "request" ]; after = [ "request" ];
package = (epkgs: epkgs.trivialBuild { package = (epkgs:
epkgs.trivialBuild {
pname = "tclip"; pname = "tclip";
src = ./packages/tclip.el; src = ./packages/tclip.el;
packageRequires = [ epkgs.request ]; packageRequires = [ epkgs.request ];
@ -602,7 +609,8 @@ in {
xe-chatgpt = { xe-chatgpt = {
enable = true; enable = true;
after = [ "request" ]; after = [ "request" ];
package = (epkgs: epkgs.trivialBuild { package = (epkgs:
epkgs.trivialBuild {
pname = "xe-chatgpt"; pname = "xe-chatgpt";
src = ./packages/xe-chatgpt.el; src = ./packages/xe-chatgpt.el;
packageRequires = [ epkgs.request ]; packageRequires = [ epkgs.request ];
@ -611,7 +619,8 @@ in {
xe-tools = { xe-tools = {
enable = true; enable = true;
package = (epkgs: epkgs.trivialBuild { package = (epkgs:
epkgs.trivialBuild {
pname = "xe-tools"; pname = "xe-tools";
src = ./packages/xe-tools.el; src = ./packages/xe-tools.el;
}); });