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