def-docset
This commit is contained in:
parent
99e2e4c5ea
commit
ec9c12e17e
20 changed files with 42 additions and 21 deletions
|
@ -21,10 +21,13 @@
|
|||
|
||||
:config
|
||||
(def-company-backend! python-mode (anaconda))
|
||||
(def-docset! python-mode "py,py3,python")
|
||||
(def-version-cmd! python-mode "python --version 2>&1 | cut -d' ' -f2")
|
||||
(def-docset! python-mode ("OpenCV_Python"))
|
||||
(def-repl! python-mode doom/inf-python)
|
||||
(define-key python-mode-map (kbd "DEL") nil)) ; interferes with smartparens
|
||||
(def-version-cmd! python-mode "python --version 2>&1 | cut -d' ' -f2")
|
||||
(define-key python-mode-map (kbd "DEL") nil) ; interferes with smartparens
|
||||
(add-hook 'doom-env-version-hook
|
||||
(lambda (v) (when (eq major-mode 'python-mode)
|
||||
(push (if (string-prefix-p "2" v) "Python_2" "Python_3") helm-dash-docsets)))))
|
||||
|
||||
(use-package anaconda-mode
|
||||
:after python
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue