diff options
| author | jdhao <jdhao@hotmail.com> | 2019-11-27 21:40:17 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-27 21:40:17 +0800 |
| commit | bf0eac1807a21cbdc928c01b1afd8ef517ca6725 (patch) | |
| tree | 99a9260f340efa58ef30ec60cffb2339637c79ee | |
| parent | 1af25bd448a4c642694ea8a449167a33612f314e (diff) | |
Reduce nvim startup time
| -rw-r--r-- | plugins.vim | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/plugins.vim b/plugins.vim index 21194e9..372f7fd 100644 --- a/plugins.vim +++ b/plugins.vim @@ -229,7 +229,7 @@ Plug 'plasticboy/vim-markdown', { 'for': 'markdown' } Plug 'vim-pandoc/vim-markdownfootnotes', { 'for': 'markdown' } " Vim tabular plugin for manipulate tabular, required by markdown plugins -Plug 'godlygeek/tabular' +Plug 'godlygeek/tabular', {'on': 'Tabularize'} " Markdown JSON header highlight plugin Plug 'elzr/vim-json', { 'for': ['json', 'markdown'] } @@ -680,9 +680,6 @@ nmap @@ <Plug>ReturnFromFootnote "{{ LaTeX editting """"""""""""""""""""""""""""vimtex settings""""""""""""""""""""""""""""" if ( has('macunix') || has('win32')) && executable('latex') - " Enhanced matching with matchup plugin - let g:matchup_override_vimtex = 1 - " Set up LaTeX flavor let g:tex_flavor = 'latex' @@ -805,6 +802,14 @@ highlight HighlightedyankRegion cterm=reverse gui=reverse let g:highlightedyank_highlight_duration = 1000 """"""""""""""""""""""""""""vim-matchup settings""""""""""""""""""""""""""""" +" Improve performance +let g:matchup_matchparen_deferred = 1 +let g:matchup_matchparen_timeout = 100 +let g:matchup_matchparen_insert_timeout = 30 + +" Enhanced matching with matchup plugin +let g:matchup_override_vimtex = 1 + " Whether to enable matching inside comment or string let g:matchup_delim_noskips = 0 |
