mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Disable idle completion in nix-mode
company-nixos-options is dreadfully slow, so we make code completion manual in nix-mode. Closes #3927
This commit is contained in:
@ -17,6 +17,10 @@
|
|||||||
:documentation '(+nix/lookup-option :async t))
|
:documentation '(+nix/lookup-option :async t))
|
||||||
(set-popup-rule! "^\\*nixos-options-doc\\*$" :ttl 0 :quit t)
|
(set-popup-rule! "^\\*nixos-options-doc\\*$" :ttl 0 :quit t)
|
||||||
|
|
||||||
|
;; Fix #3927: disable idle completion because `company-nixos-options' is
|
||||||
|
;; dreadfully slow. It can still be invoked manually..
|
||||||
|
(setq-hook! 'nix-mode-hook company-idle-delay nil)
|
||||||
|
|
||||||
(map! :localleader
|
(map! :localleader
|
||||||
:map nix-mode-map
|
:map nix-mode-map
|
||||||
"f" #'nix-update-fetch
|
"f" #'nix-update-fetch
|
||||||
|
Reference in New Issue
Block a user