summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-24 17:32:39 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-24 17:32:39 +0200
commit739102e06df4fe5bca752d1163b954603912bc98 (patch)
treef60333e4ff1820a9a93fa32bd870d52b97bfefd9 /plugin
parentf52f6b9519f51faeeeae123a852a7bacc82089d5 (diff)
downloadvim-polyglot-4.16.0.tar.gz
vim-polyglot-4.16.0.zip
Make editing same file in multiple vim instances seamlessv4.16.0
Diffstat (limited to 'plugin')
-rw-r--r--plugin/polyglot.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/polyglot.vim b/plugin/polyglot.vim
index c5074088..7143043e 100644
--- a/plugin/polyglot.vim
+++ b/plugin/polyglot.vim
@@ -62,6 +62,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sensible') == -
set tabpagemax=50
endif
+ " Reduce updatetime from 4000 to 300 to avoid issues with coc.nvim
+ if &updatetime == 4000
+ set updatetime=300
+ endif
+
" Always save upper case variables to viminfo file.
if !empty(&viminfo)
set viminfo^=!