mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
Merge branch 'main' into single-monitor
This commit is contained in:
commit
6c7f053c4d
1 changed files with 3 additions and 13 deletions
|
@ -255,8 +255,7 @@
|
|||
;(dap-tooltip-mode 1)
|
||||
(eval-when-compile
|
||||
(require 'cl-lib))
|
||||
(require 'dap-python)
|
||||
(require 'dap-lldb))
|
||||
(require 'dap-python))
|
||||
|
||||
(use-package company
|
||||
:config
|
||||
|
@ -305,28 +304,19 @@
|
|||
(setq lsp-tex-server 'digestif)
|
||||
|
||||
;; Python
|
||||
(use-package python-mode
|
||||
:config
|
||||
(require 'dap-python)
|
||||
:custom
|
||||
(dap-python-debugger 'debugpy))
|
||||
|
||||
(setq dap-python-debugger 'debugpy)
|
||||
|
||||
(use-package lsp-pyright
|
||||
:hook (python-mode . (lambda ()
|
||||
(require 'lsp-pyright)
|
||||
(lsp)))) ; or lsp-deferred
|
||||
|
||||
(use-package sphinx-doc
|
||||
:hook (python-mode . sphinx-doc-mode)
|
||||
:config
|
||||
(setq sphinx-doc-include-types t))
|
||||
|
||||
(use-package numpydoc
|
||||
:bind (:map python-mode-map
|
||||
("C-c C-n" . numpydoc-generate))
|
||||
:config
|
||||
(setq numpydoc-insert-examples-block nil))
|
||||
|
||||
;; Rust
|
||||
|
||||
;(use-package rust-mode)
|
||||
|
|
Loading…
Reference in a new issue