configs/emacs: add a few more missing packages
This commit is contained in:
parent
fe40796e2c
commit
ff91ecc286
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user