Fix typos and minor editing

This commit is contained in:
Gerard Vermeulen 2022-12-27 10:47:33 +01:00
parent 85d644c68a
commit a60623b44c

View File

@ -3853,7 +3853,7 @@ mode independent [[https://github.com/joaotavora/eglot][Eglot]] configuration:
;; Replace `nil' with `t' for debugging.
(when nil
(defvar eglot-server-programs
`((python-mode . ("pylsp" "-vvv")))
`(((python-ts-mod python-mode) . ("pylsp" "-vv")))
"Shadow the definition of `eglot-server-programs' in `eglot'."))
(with-eval-after-load 'eglot
@ -4653,7 +4653,7 @@ or to increase the verbosity of [[https://github.com/python-lsp/python-lsp-serve
(with-eval-after-load 'eglot
(setq-default
eglot-workspace-configuration
;; Enable the `:pyls_ruff' plugin and ensure to disable the
;; Enable the `:pylsp_ruff' plugin and ensure to disable the
;; `:flake8', `:mccabe', and `:pycodestye' plugins.
'(:pylsp (:plugins
(:pylsp_ruff
@ -4708,7 +4708,7 @@ or to increase the verbosity of [[https://github.com/python-lsp/python-lsp-serve
;; to launch eglot automatically.
((nil ;; nil, since Emacs-29.1 filters out irrelevant variable names.
. ((eglot-workspace-configuration
;; Enable the `:pyls_ruff' plugin and ensure to disable the
;; Enable the `:pylsp_ruff' plugin and ensure to disable the
;; `:flake8', `:mccabe', and `:pycodestye' plugins.
. (:pylsp (:plugins
(:pylsp_ruff