]> Sergey Matveev's repositories - vim-lsp.git/blobdiff - autoload/lsp/options.vim
Option changes are not handled properly
[vim-lsp.git] / autoload / lsp / options.vim
index eae209308f387a14fbe5df58cc6d250c2b7fca24..e79196726df490cfaae6343439f581dab170478f 100644 (file)
@@ -156,8 +156,8 @@ export def OptionsSet(opts: dict<any>)
   endif
 
   # Apply the changed options
-  if exists('#LspOptionsChanged#User')
-    :doautocmd <nomodeline> LspOptionsChanged User
+  if exists('LspCmds##User#LspOptionsChanged')
+    :doautocmd <nomodeline> LspCmds User LspOptionsChanged
   endif
 enddef