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,46 +573,57 @@ 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:
pname = "change-case"; epkgs.trivialBuild {
src = ./packages/change-case.el; pname = "change-case";
}); src = ./packages/change-case.el;
});
}; };
tclip = { tclip = {
enable = true; enable = true;
after = [ "request" ]; after = [ "request" ];
package = (epkgs: epkgs.trivialBuild { package = (epkgs:
pname = "tclip"; epkgs.trivialBuild {
src = ./packages/tclip.el; pname = "tclip";
packageRequires = [ epkgs.request ]; src = ./packages/tclip.el;
}); packageRequires = [ epkgs.request ];
});
}; };
xe-chatgpt = { xe-chatgpt = {
enable = true; enable = true;
after = [ "request" ]; after = [ "request" ];
package = (epkgs: epkgs.trivialBuild { package = (epkgs:
pname = "xe-chatgpt"; epkgs.trivialBuild {
src = ./packages/xe-chatgpt.el; pname = "xe-chatgpt";
packageRequires = [ epkgs.request ]; src = ./packages/xe-chatgpt.el;
}); packageRequires = [ epkgs.request ];
});
}; };
xe-tools = { xe-tools = {
enable = true; enable = true;
package = (epkgs: epkgs.trivialBuild { package = (epkgs:
pname = "xe-tools"; epkgs.trivialBuild {
src = ./packages/xe-tools.el; pname = "xe-tools";
}); src = ./packages/xe-tools.el;
});
config = '' config = ''
(setq linum-format 'xe/linum-format-func) (setq linum-format 'xe/linum-format-func)