1
0

Emacs: autocomplete for .nix

This commit is contained in:
dump_stack() 2020-03-19 08:38:01 +00:00
parent 4109c9e9ef
commit 6c99f3287b
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 16 additions and 0 deletions

View File

@ -1,6 +1,20 @@
(setq explicit-shell-file-name "/bin/sh") (setq explicit-shell-file-name "/bin/sh")
(setq shell-file-name "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 ;; Backups

View File

@ -90,6 +90,8 @@ in {
zenburn-theme solarized-theme zenburn-theme solarized-theme
# IM # IM
telega telega
# NixOS
company-nixos-options helm-nixos-options
]) ])
++ ++
# GNU Elpa # GNU Elpa