Update config
This commit is contained in:
parent
0e033a56ab
commit
5344441ae9
@ -110,12 +110,17 @@
|
|||||||
;; (setq-hook! 'php-mode-hook +format-with :none)
|
;; (setq-hook! 'php-mode-hook +format-with :none)
|
||||||
|
|
||||||
;; auto-virtualenv package configuration
|
;; auto-virtualenv package configuration
|
||||||
|
;; (use-package! auto-virtualenv
|
||||||
|
;; :init
|
||||||
|
;; :config
|
||||||
|
;; (add-hook! 'python-mode-hook 'auto-virtualenv-set-virtualenv)
|
||||||
|
;; (add-hook! 'projectile-after-switch-project-hook 'auto-virtualenv-set-virtualenv) ;; If using projectile
|
||||||
|
;; )
|
||||||
|
|
||||||
(use-package! auto-virtualenv
|
(use-package! auto-virtualenv
|
||||||
:init
|
|
||||||
:config
|
:config
|
||||||
(add-hook! 'python-mode-hook 'auto-virtualenv-set-virtualenv)
|
(setq auto-virtualenv-verbose t)
|
||||||
(add-hook! 'projectile-after-switch-project-hook 'auto-virtualenv-set-virtualenv) ;; If using projectile
|
(auto-virtualenv-setup))
|
||||||
)
|
|
||||||
|
|
||||||
;; python debugging
|
;; python debugging
|
||||||
;; (after! dap-mode
|
;; (after! dap-mode
|
||||||
@ -170,9 +175,9 @@
|
|||||||
(add-hook 'corfu-mode-hook
|
(add-hook 'corfu-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
;; Settings only for Corfu
|
;; Settings only for Corfu
|
||||||
(setq-local completion-styles '(basic)
|
;; (setq-local completion-styles '(basic orderless)
|
||||||
completion-category-overrides nil
|
;; completion-category-overrides nil
|
||||||
completion-category-defaults nil)
|
;; completion-category-defaults nil)
|
||||||
;; Cape (used by corfu) configuration
|
;; Cape (used by corfu) configuration
|
||||||
(setq-local completion-at-point-functions
|
(setq-local completion-at-point-functions
|
||||||
(mapcar #'cape-company-to-capf
|
(mapcar #'cape-company-to-capf
|
||||||
|
Loading…
Reference in New Issue
Block a user