mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-09 22:10:48 -05:00
Adjustments for dap and debugpy
This commit is contained in:
parent
47fc34da28
commit
dbc65a6537
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