Emacs: Add keybinding for lsp-execute-code-action.
This commit is contained in:
parent
e85bb766d7
commit
287e1393fc
|
@ -1,6 +1,6 @@
|
|||
;;; lsp.el --- Language Server Protocol. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2020-03-18T14:57:43+0100>
|
||||
;; Time-stamp: <2020-03-27T17:03:12+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
|||
(add-to-list 'lsp-clients-clangd-args "--clang-tidy" t))
|
||||
;; Mark lsp-clients-clangd-args as safe to override.
|
||||
(put 'lsp-clients-clangd-args 'safe-local-variable #'consp))
|
||||
:bind ("C-c C-f" . lsp-execute-code-action)
|
||||
:hook ((c++-mode . lsp)
|
||||
(c-mode . lsp)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user