Skip to content

Commit 451fb79

Browse files
committed
chore[emacs]: enable auto format strings from BasedPyright
1 parent b17f3f6 commit 451fb79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dots/emacs/spacemacs.d/layers/kzk-lsp/packages.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
(kbd "M-*") '("Copilot Panel" . lsp-copilot-panel-completion)))
5050

5151
(kzk/after-init
52+
;; force initialize of lsp and add custom options to pyright
53+
(require 'lsp-mode)
54+
(lsp-register-custom-settings
55+
`(("basedpyright.analysis.autoFormatStrings" t t)))
5256
;; Update popwin config to place the panel at the right place
5357
(require 'spacemacs-purpose-popwin)
5458
(require 'popwin)

0 commit comments

Comments
 (0)