+15
-0
lines changedFilter options
+15
-0
lines changed Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@ if exists("did_load_polyglot")
8
8
finish
9
9
endif
10
10
11
+
11
12
let did_load_polyglot = 1
12
13
13
14
" Switch to compatible mode for the time being
@@ -3496,6 +3497,15 @@ if !has_key(s:disabled_packages, 'sensible')
3496
3497
" Reload unchanged files automatically.
3497
3498
set autoread
3498
3499
3500
+
" Disable swap, it doesn't play well with autoread
3501
+
set noswapfile
3502
+
3503
+
" Auto reload if file was changed somewhere else (for autoread)
3504
+
augroup polyglot-sensible
3505
+
au!
3506
+
au CursorHold * checktime
3507
+
augroup END
3508
+
3499
3509
" Enable highlighted case-insensitive incremential search.
3500
3510
set incsearch
3501
3511
Original file line number Diff line number Diff line change
@@ -62,6 +62,11 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sensible') == -
62
62
set tabpagemax=50
63
63
endif
64
64
65
+
" Reduce updatetime from 4000 to 300 to avoid issues with coc.nvim
66
+
if &updatetime == 4000
67
+
set updatetime=300
68
+
endif
69
+
65
70
" Always save upper case variables to viminfo file.
66
71
if !empty(&viminfo)
67
72
set viminfo^=!
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4