configs/emacs: add a few more missing packages

This commit is contained in:
Aaron Bieber 2024-05-21 14:34:44 -06:00
parent fe40796e2c
commit ff91ecc286
No known key found for this signature in database
2 changed files with 14 additions and 2 deletions

View File

@ -5,6 +5,7 @@
, writeTextDir
, emacs
, emacsPkg ? pkgs.emacs-gtk
, isUnstable
, ...
}:
let
@ -32,6 +33,8 @@ let
'';
emacsInitDir = "${emacsInit}/share/emacs/site-lisp";
unstablePkgs = if isUnstable then with pkgs; [ htmx-lsp ] else [ ];
# Binaries that are needed in emacs
emacsDepList = with pkgs; [
deno
@ -43,11 +46,19 @@ let
gotools
graphviz
ispell
luaformatter
luajitPackages.lua-lsp
nixpkgs-fmt
nodePackages.prettier
nodePackages.typescript-language-server
nodejs
perlPackages.PLS
rubyPackages.solargraph
sleek
sumneko-lua-language-server
texlive.combined.scheme-full
];
tree-sitter
] ++ unstablePkgs;
in
emacsWithPackagesFromUsePackage {
config = ./emacs.org;

View File

@ -268,7 +268,8 @@ Magit is a awesome. Not sure what else to say about it. :P
(ruby-mode . lsp)
(typescript-mode . lsp)
(elm-mode . lsp)
(perl-mode . lsp))
(perl-mode . lsp)
(lua-mode . lsp))
:commands (lsp lsp-deferred))
(use-package lsp-ui :commands lsp-ui-mode)