summaryrefslogtreecommitdiff
path: root/lsp-ui.el
diff options
context:
space:
mode:
authorMykhailo Panarin <31699470+mpanarin@users.noreply.github.com>2019-09-12 12:46:36 +0300
committerIvan Yonchovski <yyoncho@users.noreply.github.com>2019-09-12 12:46:36 +0300
commit062736352b125e5f50e6007d60775240ce0d9018 (patch)
treea14aade6d28721afdd964c6717989104d7ecd877 /lsp-ui.el
parentfba17d4127fa768ca022f405a7a363621b73fc00 (diff)
[imp] lsp-ui-doc buffers are now ignored by winum (#308)
Diffstat (limited to 'lsp-ui.el')
-rw-r--r--lsp-ui.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lsp-ui.el b/lsp-ui.el
index 47a06ec..b156c59 100644
--- a/lsp-ui.el
+++ b/lsp-ui.el
@@ -49,6 +49,10 @@
(with-eval-after-load 'flycheck
(require 'lsp-ui-flycheck))
+(with-eval-after-load 'winum
+ (when (and (boundp 'winum-ignored-buffers-regexp) lsp-ui-doc-winum-ignore)
+ (add-to-list 'winum-ignored-buffers-regexp lsp-ui-doc--buffer-prefix)))
+
(defun lsp-ui-peek--render (major string)
(with-temp-buffer
(insert string)