diff options
author | Alan Pearce | 2023-03-14 20:47:35 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-14 20:47:35 +0100 |
commit | 96b814111069b36c1c7a4395348e4af41d336bcc (patch) | |
tree | 5226d98432b930c720f9a442368fd0838b7ab432 /user/settings/development | |
parent | 39f730bcdc65b2e644531331c108ee225ea94929 (diff) | |
download | nixfiles-96b814111069b36c1c7a4395348e4af41d336bcc.tar.lz nixfiles-96b814111069b36c1c7a4395348e4af41d336bcc.tar.zst nixfiles-96b814111069b36c1c7a4395348e4af41d336bcc.zip |
Move language-based editor plugins to language files
Diffstat (limited to 'user/settings/development')
-rw-r--r-- | user/settings/development/clojure.nix | 7 | ||||
-rw-r--r-- | user/settings/development/javascript.nix | 8 | ||||
-rw-r--r-- | user/settings/development/rust.nix | 3 | ||||
-rw-r--r-- | user/settings/development/web.nix | 13 | ||||
-rw-r--r-- | user/settings/development/zig.nix | 12 |
5 files changed, 43 insertions, 0 deletions
diff --git a/user/settings/development/clojure.nix b/user/settings/development/clojure.nix index 7b06691a..a5d6ceae 100644 --- a/user/settings/development/clojure.nix +++ b/user/settings/development/clojure.nix @@ -8,4 +8,11 @@ node2nixPackages.node-cljfmt node2nixPackages.shadow-cljs ]; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + cider + clojure-mode + ]); + programs.neovim.plugins = with pkgs.vimPlugins; [ + conjure + ]; } diff --git a/user/settings/development/javascript.nix b/user/settings/development/javascript.nix index 9b8bdabf..692995e7 100644 --- a/user/settings/development/javascript.nix +++ b/user/settings/development/javascript.nix @@ -51,6 +51,14 @@ in { NO_UPDATE_NOTIFIER = "1"; # stop npm update-notifier }; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + add-node-modules-path + js2-mode + rjsx-mode + tide + typescript-mode + ]); + programs.zsh.shellAliases = { ava = "pnpx ava"; avt = "pnpx ava --tap"; diff --git a/user/settings/development/rust.nix b/user/settings/development/rust.nix index 63d0db35..16a50b41 100644 --- a/user/settings/development/rust.nix +++ b/user/settings/development/rust.nix @@ -11,4 +11,7 @@ rust-analyzer clippy ]; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + rustic + ]); } diff --git a/user/settings/development/web.nix b/user/settings/development/web.nix index f1f45878..64502198 100644 --- a/user/settings/development/web.nix +++ b/user/settings/development/web.nix @@ -12,4 +12,17 @@ ++ [ pkgs.nodePackages.stylelint ]; + programs.emacs.extraPackages = epkgs: (with epkgs; [ + caddyfile-mode + company-web + emmet-mode + nginx-mode + restclient + scss-mode + web-mode + ]); + programs.neovim.plugins = with pkgs.vimPlugins; [ + coc-css + coc-html + ]; } diff --git a/user/settings/development/zig.nix b/user/settings/development/zig.nix new file mode 100644 index 00000000..69c2ea80 --- /dev/null +++ b/user/settings/development/zig.nix @@ -0,0 +1,12 @@ +{ + config, + pkgs, + ... +}: { + programs.emacs.extraPackages = epkgs: (with epkgs; [ + zig-mode + ]); + programs.neovim.plugins = with pkgs.vimPlugins; [ + zig-vim + ]; +} |