aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2022-05-18 11:59:03 -0600
committerGitHub <noreply@github.com>2022-05-18 11:59:03 -0600
commit03a8269e3a904e7660eb95b9c17ccfc0938f1e30 (patch)
tree331a1a4c3d5f9a63e746c15fe328a8f869e9be5e /src
parentb840b5b6a94411a456123306adca715683e16bba (diff)
parented93186ee22b852580ed8a255ed2104e020cf11c (diff)
downloadrneovim-03a8269e3a904e7660eb95b9c17ccfc0938f1e30.tar.gz
rneovim-03a8269e3a904e7660eb95b9c17ccfc0938f1e30.tar.bz2
rneovim-03a8269e3a904e7660eb95b9c17ccfc0938f1e30.zip
Merge pull request #18507 from gpanders/au-lsp-attached
Diffstat (limited to 'src')
-rw-r--r--src/nvim/auevents.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/auevents.lua b/src/nvim/auevents.lua
index 9e3eb06752..93a870fe04 100644
--- a/src/nvim/auevents.lua
+++ b/src/nvim/auevents.lua
@@ -70,6 +70,8 @@ return {
'InsertEnter', -- when entering Insert mode
'InsertLeave', -- just after leaving Insert mode
'InsertLeavePre', -- just before leaving Insert mode
+ 'LspAttach', -- after an LSP client attaches to a buffer
+ 'LspDetach', -- after an LSP client detaches from a buffer
'MenuPopup', -- just before popup menu is displayed
'ModeChanged', -- after changing the mode
'OptionSet', -- after setting any option
@@ -133,6 +135,8 @@ return {
nvim_specific = {
BufModifiedSet=true,
DiagnosticChanged=true,
+ LspAttach=true,
+ LspDetach=true,
RecordingEnter=true,
RecordingLeave=true,
Signal=true,