Emacs: Activate lsp-mode for python.
This commit is contained in:
parent
917b2fa74b
commit
cca223bd40
|
@ -1,6 +1,6 @@
|
|||
;;; lsp.el --- Language Server Protocol. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-12-01T19:40:27+0100>
|
||||
;; Time-stamp: <2020-12-01T20:58:52+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -42,6 +42,7 @@
|
|||
:bind ("C-c C-f" . lsp-execute-code-action)
|
||||
:hook ((c++-mode . lsp)
|
||||
(c-mode . lsp)
|
||||
(python-mode . lsp)
|
||||
;; ↓ See <https://github.com/emacs-lsp/lsp-mode/issues/1736>. ↓
|
||||
(lsp-managed-mode
|
||||
. (lambda () (setq-local company-backends '(company-capf))))
|
||||
|
|
Loading…
Reference in New Issue