Emacs: autocomplete for .nix
This commit is contained in:
parent
3983d51530
commit
f98cf1d580
14
etc/emacs.el
14
etc/emacs.el
@ -1,6 +1,20 @@
|
||||
(setq explicit-shell-file-name "/bin/sh")
|
||||
(setq shell-file-name "sh")
|
||||
|
||||
;;
|
||||
;;
|
||||
;; NixOS
|
||||
;;
|
||||
;;
|
||||
|
||||
|
||||
(global-set-key (kbd "C-c C-S-n") 'helm-nixos-options)
|
||||
|
||||
(add-hook 'after-init-hook 'global-company-mode)
|
||||
(with-eval-after-load 'company
|
||||
(add-to-list 'company-backends 'company-nixos-options)
|
||||
(global-set-key (kbd "TAB") #'company-indent-or-complete-common))
|
||||
|
||||
;;
|
||||
;;
|
||||
;; Backups
|
||||
|
@ -90,6 +90,8 @@ in {
|
||||
zenburn-theme solarized-theme
|
||||
# IM
|
||||
telega
|
||||
# NixOS
|
||||
company-nixos-options helm-nixos-options
|
||||
])
|
||||
++
|
||||
# GNU Elpa
|
||||
|
Loading…
Reference in New Issue
Block a user