mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-09 22:10:48 -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)
|
;(dap-tooltip-mode 1)
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'cl-lib))
|
(require 'cl-lib))
|
||||||
(require 'dap-python)
|
(require 'dap-python))
|
||||||
(require 'dap-lldb))
|
|
||||||
|
|
||||||
(use-package company
|
(use-package company
|
||||||
:config
|
:config
|
||||||
|
@ -305,28 +304,19 @@
|
||||||
(setq lsp-tex-server 'digestif)
|
(setq lsp-tex-server 'digestif)
|
||||||
|
|
||||||
;; Python
|
;; Python
|
||||||
(use-package python-mode
|
|
||||||
:config
|
(setq dap-python-debugger 'debugpy)
|
||||||
(require 'dap-python)
|
|
||||||
:custom
|
|
||||||
(dap-python-debugger 'debugpy))
|
|
||||||
|
|
||||||
(use-package lsp-pyright
|
(use-package lsp-pyright
|
||||||
:hook (python-mode . (lambda ()
|
:hook (python-mode . (lambda ()
|
||||||
(require 'lsp-pyright)
|
(require 'lsp-pyright)
|
||||||
(lsp)))) ; or lsp-deferred
|
(lsp)))) ; or lsp-deferred
|
||||||
|
|
||||||
(use-package sphinx-doc
|
|
||||||
:hook (python-mode . sphinx-doc-mode)
|
|
||||||
:config
|
|
||||||
(setq sphinx-doc-include-types t))
|
|
||||||
|
|
||||||
(use-package numpydoc
|
(use-package numpydoc
|
||||||
:bind (:map python-mode-map
|
:bind (:map python-mode-map
|
||||||
("C-c C-n" . numpydoc-generate))
|
("C-c C-n" . numpydoc-generate))
|
||||||
:config
|
:config
|
||||||
(setq numpydoc-insert-examples-block nil))
|
(setq numpydoc-insert-examples-block nil))
|
||||||
|
|
||||||
;; Rust
|
;; Rust
|
||||||
|
|
||||||
;(use-package rust-mode)
|
;(use-package rust-mode)
|
||||||
|
|
Loading…
Reference in a new issue