Move lsp servers & rustfmt to emacs.nix
This commit is contained in:
parent
1bed3ae799
commit
042f6a6d5e
|
@ -15,6 +15,5 @@
|
|||
gdb
|
||||
cmake
|
||||
llvmPackages.libcxx
|
||||
ccls
|
||||
];
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
my = {
|
||||
packages = with pkgs; [
|
||||
nodejs
|
||||
nodePackages.javascript-typescript-langserver
|
||||
];
|
||||
|
||||
env.NPM_CONFIG_USERCONFIG = "$XDG_CONFIG_HOME/npm/config";
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
my = {
|
||||
packages = with pkgs; [
|
||||
rustup
|
||||
rustfmt
|
||||
rls
|
||||
];
|
||||
|
||||
env.RUSTUP_HOME = "$XDG_DATA_HOME/rustup";
|
||||
|
|
|
@ -6,22 +6,39 @@
|
|||
{
|
||||
my = {
|
||||
packages = with pkgs; [
|
||||
# Doom dependencies
|
||||
## Doom dependencies
|
||||
emacs
|
||||
git
|
||||
(ripgrep.override {withPCRE2 = true;})
|
||||
# Optional dependencies
|
||||
|
||||
## Optional dependencies
|
||||
editorconfig-core-c # per-project style config
|
||||
fd # faster projectile indexing
|
||||
imagemagick # for image-dired
|
||||
gnutls # for TLS connectivity
|
||||
imagemagick # for image-dired
|
||||
(lib.mkIf (config.programs.gnupg.agent.enable)
|
||||
pinentry_emacs) # in-emacs gnupg prompts
|
||||
zstd # for undo-tree compression
|
||||
ffmpeg # for screen recording emacs
|
||||
# Module dependencies
|
||||
sqlite # :tools (lookup +docsets)
|
||||
texlive.combined.scheme-medium # :lang org -- for latex previews
|
||||
|
||||
## Module dependencies
|
||||
# :checkers spell
|
||||
aspell
|
||||
aspellDicts.en
|
||||
aspellDicts.en-computers
|
||||
aspellDicts.en-science
|
||||
# :checkers grammar
|
||||
languagetool
|
||||
# :tools lookup
|
||||
sqlite
|
||||
# :lang cc
|
||||
ccls
|
||||
# :lang javascript
|
||||
nodePackages.javascript-typescript-langserver
|
||||
# :lang latex & :lang org (latex previews)
|
||||
texlive.combined.scheme-medium
|
||||
# :lang rust
|
||||
rustfmt
|
||||
rls
|
||||
];
|
||||
|
||||
env.PATH = [ "$HOME/.emacs.d/bin" ];
|
||||
|
|
Loading…
Reference in a new issue