Disable company exclusively on Nix

This commit is contained in:
coolneng 2020-07-10 00:03:23 +02:00
parent 3c5aa45749
commit 53b4fffbee
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@
(message "No Compilation Errors!"))))) (message "No Compilation Errors!")))))
;; Enable writeroom for text modes ;; Enable writeroom for text modes
(setq writeroom-major-modes '(markdown-mode org-mode)) (setq writeroom-major-modes '(markdown-mode org-mode))
;; Speed up company mode ;; Disable company in Nix mode
(setq company-idle-delay nil) (set-company-backend! 'nix-mode nil)
;; Use Microsoft's python language server by default ;; Use Microsoft's python language server by default
(after! lsp-python-ms (after! lsp-python-ms
(set-lsp-priority! 'mspyls 1)) (set-lsp-priority! 'mspyls 1))