We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84f7f5a commit 3274e7dCopy full SHA for 3274e7d
layers/+lang/python/packages.el
@@ -348,8 +348,9 @@
348
(add-hook 'python-mode-hook 'py-yapf-enable-on-save))))
349
350
(defun python/post-init-semantic ()
351
- (add-hook 'python-mode-hook
352
- 'spacemacs//disable-semantic-idle-summary-mode t)
+ (when (configuration-layer/package-usedp 'anaconda-mode)
+ (add-hook 'python-mode-hook
353
+ 'spacemacs//disable-semantic-idle-summary-mode t))
354
(add-hook 'python-mode-hook 'semantic-mode)
355
(add-hook 'python-mode-hook 'spacemacs//python-imenu-create-index-use-semantic)
356
0 commit comments