This commit is contained in:
2025-08-27 15:08:09 +00:00
parent 144aba7866
commit 98d8ea3511
6 changed files with 43 additions and 8 deletions

View File

@@ -11,12 +11,14 @@
ripgrep
typescript-language-server
typescript
vscode-langservers-extracted
nodejs
# mathpix-snipping-tool
cmake
libtool
glibtool
graphviz
cmake
libtool
glibtool
graphviz
libvterm
];
programs.emacs = {
@@ -24,9 +26,10 @@
extraPackages = epkgs: [
epkgs.mu4e
epkgs.pdf-tools
epkgs.vterm
];
};
services.emacs.enable = true;
#services.emacs.enable = true;
home.file.".config/emacs" = {
source = ./emacs;
recursive = true;

View File

@@ -65,7 +65,7 @@
(string-match "\\*[^*]+\\*" (buffer-name buffer)))
(setq switch-to-prev-buffer-skip 'skip-these-buffers)
(set-face-attribute 'default nil :family "JetBrainsMono Nerd Font" :height 120)
(set-face-attribute 'default nil :family "JetBrainsMono Nerd Font" :height 100)
(setq custom-file (locate-user-emacs-file "custom-vars.el"))
(load custom-file 'noerror 'nomessage)
@@ -502,6 +502,7 @@
(tsx-ts-mode . lsp)
(js-mode . lsp)
(js-ts-mode . lsp)
(css-ts-mode . lsp)
(c-ts-mode . lsp)
(c++-ts-mode . lsp)
(lsp-mode . lsp-enable-which-key-integration)

View File

@@ -49,6 +49,7 @@ in {
vscode-langservers-extracted
vue-language-server
stylelint-lsp
tailwindcss-language-server
];
c = with pkgs; [
clang
@@ -56,6 +57,9 @@ in {
csharp = with pkgs; [
omnisharp-roslyn
];
gitlab = with pkgs; [
gitlab-ci-ls
];
};
# This is for plugins that will load at startup without using packadd:
@@ -163,6 +167,7 @@ in {
typescript = true;
c = true;
csharp = true;
gitlab = true;
};
# anything else to pass and grab in lua with `nixCats.extra`
extra = {

View File

@@ -711,6 +711,11 @@ require('lze').load {
enabled = nixCats('typescript') or false,
lsp = {},
},
{
"tailwindcss",
enabled = nixCats('typescript') or false,
lsp = {},
},
{
"clangd",
enabled = nixCats('c') or false,
@@ -723,6 +728,11 @@ require('lze').load {
-- filetypes = { "go", "gomod", "gowork", "gotmpl" },
},
},
{
"gitlab_ci_ls",
enabled = nixCats("gitlab") or false,
lsp = {},
},
{
"omnisharp",
enabled = nixCats("csharp") or false,