Commit Graph

16 Commits

Author SHA1 Message Date
Aria Edmonds
8e4635bdc8 set nix-indent-function to #'nix-indent-line 2019-01-22 10:44:05 +11:00
Henrik Lissner
3f195614d9
Normalize :leader/:localleader keybinds
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
Henrik Lissner
e0f2c260a1
Update lang/nix to reflect changes upstream
+ Restore nix-mode entry in auto-mode-alist
+ Add .drv entry to auto-mode-alist
+ Minor refactor for def-package! blocks
2018-08-13 21:47:55 +02:00
Henrik Lissner
7a81f46b39
Refactor lang/nix
+ Move set-company-backend! out of conditional (it is an autodef, meaning it will simply no-op if the company module is disabled)
+ Removed helm-nixos-options config, because `helm-nixos-options` is already autoloaded by the package
+ Simplify map! usage
+ Move nix-mode to the top, as it is the focal package of this module
2018-07-17 13:23:33 +02:00
Patrick Elliott
bd5d305e06 Added doc check for nix package manager 2018-07-17 10:03:17 +02:00
Patrick Elliott
0aa351842c clean-up + add helm-nixos-options 2018-07-17 09:56:52 +02:00
Patrick Elliott
6b23692985 Whoops! this is available on melpa after all 2018-07-16 17:15:05 +02:00
Patrick Elliott
8ed5ea56d9 Added doctor check for nixfmt 2018-07-16 17:13:53 +02:00
Patrick Elliott
1dac12c9c0 Add bindings for nix-mode 2018-07-16 17:10:57 +02:00
Patrick Elliott
bdbe942fb9 Make available nix-repl-show 2018-07-16 17:10:18 +02:00
Patrick Elliott
d3c24e51f1 Add support for nix-update 2018-07-16 17:09:28 +02:00
Patrick Elliott
39419dee17 Added company backend for nixos-options 2018-07-16 15:49:11 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
4afcd7eadf
lang/nix: no-byte-compile; add file header 2018-03-27 19:09:22 -04:00
Carter Charbonneau
2ac08a13e0 lang/nix: install nix-mode package 2018-03-27 10:28:37 -06:00
Oliver Charles
89223e0a2f lang/nix: initial commit 2017-12-02 00:05:51 +00:00