1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Reduce nvim startup time

This commit is contained in:
jdhao 2019-11-27 21:40:17 +08:00 committed by GitHub
parent 1af25bd448
commit bf0eac1807
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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