Move lsp servers & rustfmt to emacs.nix

This commit is contained in:
Henrik Lissner 2020-01-14 00:24:44 -05:00
parent 1bed3ae799
commit 042f6a6d5e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 24 additions and 11 deletions

View file

@ -15,6 +15,5 @@
gdb
cmake
llvmPackages.libcxx
ccls
];
}

View file

@ -10,7 +10,6 @@
my = {
packages = with pkgs; [
nodejs
nodePackages.javascript-typescript-langserver
];
env.NPM_CONFIG_USERCONFIG = "$XDG_CONFIG_HOME/npm/config";

View file

@ -12,8 +12,6 @@
my = {
packages = with pkgs; [
rustup
rustfmt
rls
];
env.RUSTUP_HOME = "$XDG_DATA_HOME/rustup";

View file

@ -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" ];