Added company backend for nixos-options
This commit is contained in:
parent
c31bb6a744
commit
39419dee17
2 changed files with 10 additions and 0 deletions
7
modules/lang/nix/config.el
Normal file
7
modules/lang/nix/config.el
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
;;; config.el --- description -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(def-package! company-nixos-options
|
||||||
|
:when (featurep! :completion company)
|
||||||
|
:after nix-mode
|
||||||
|
:config
|
||||||
|
(set-company-backend! 'nix-mode 'company-nixos-options))
|
|
@ -2,3 +2,6 @@
|
||||||
;;; lang/nix/packages.el
|
;;; lang/nix/packages.el
|
||||||
|
|
||||||
(package! nix-mode)
|
(package! nix-mode)
|
||||||
|
|
||||||
|
(when (featurep! :completion company)
|
||||||
|
(package! company-nixos-options))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue