Merge branch 'dev' of https://github.com/Donaldttt/dotfiles into dev
This commit is contained in:
+11
-17
@@ -38,7 +38,6 @@
|
||||
|
||||
Plug 'scrooloose/nerdtree'
|
||||
|
||||
Plug 'godlygeek/tabular'
|
||||
" for markdown{
|
||||
Plug 'preservim/vim-markdown'
|
||||
"}
|
||||
@@ -79,6 +78,9 @@
|
||||
" put text in neibouring tmux pane into auto complete
|
||||
Plug 'wellle/tmux-complete.vim'
|
||||
|
||||
Plug 'ludovicchabant/vim-gutentags'
|
||||
Plug 'lambdalisue/readablefold.vim'
|
||||
|
||||
" only work with nvim > 0.5
|
||||
" For other versions, just loading the plugin may
|
||||
" cause error
|
||||
@@ -132,6 +134,11 @@ if g:vim_type == 'nvim'
|
||||
endif
|
||||
" }
|
||||
|
||||
" ludovicchabant/vim-gutentags {
|
||||
set statusline+=%{gutentags#statusline()}
|
||||
let g:gutentags_cache_dir=g:vim_dir . '/.vimtags/'
|
||||
"}
|
||||
|
||||
" easymotion/vim-easymotion {
|
||||
|
||||
" <Leader>f{char} to move to {char}
|
||||
@@ -179,23 +186,10 @@ endif
|
||||
if isdirectory(expand(plugin_dir . "/vim-rooter"))
|
||||
let g:rooter_patterns = ['.vscode', '.git', '*.sln', 'src']
|
||||
let g:rooter_change_directory_for_non_project_files = 'current'
|
||||
let g:rooter_silent_chdir = 1
|
||||
endif
|
||||
" }
|
||||
|
||||
" godlygeek/tabular {
|
||||
if isdirectory(expand(plugin_dir . "/tabular"))
|
||||
nmap <leader>t= :Tabularize /=<CR>
|
||||
vmap <leader>t= :Tabularize /=<CR>
|
||||
|
||||
nmap <leader>t\| :Tab /\|<CR>
|
||||
vmap <leader>t\| :Tab /\|<CR>
|
||||
|
||||
nmap <leader>t: :Tab /:\zs<CR>
|
||||
vmap <leader>t: :Tab /:\zs<CR>
|
||||
endif
|
||||
|
||||
" }
|
||||
|
||||
" NerdTree {
|
||||
if isdirectory(expand(plugin_dir . "/nerdtree"))
|
||||
let g:NERDShutUp=1
|
||||
@@ -381,7 +375,7 @@ endif
|
||||
"if !has('nvim') || g:vim_version < 0.5
|
||||
if v:true
|
||||
highlight SignColumn ctermbg=none
|
||||
highlight CursorLineNr ctermbg=none
|
||||
"highlight CursorLineNr ctermbg=none
|
||||
highlight CocWarningHighlight ctermbg=none
|
||||
highlight CocErrorSign ctermbg=none ctermfg=9 cterm=bold
|
||||
highlight CocErrorHighlight ctermbg=none ctermfg=9 cterm=underline,bold
|
||||
@@ -391,7 +385,7 @@ endif
|
||||
highlight CocInfoSign ctermbg=none
|
||||
highlight CocHintSign ctermbg=none
|
||||
if g:theme_color == 'dark'
|
||||
highlight! link TempColor Pmenu
|
||||
highlight! link TempColor Visual
|
||||
highlight! link CocFloating TempColor
|
||||
highlight! link CocErrorFloat TempColor
|
||||
highlight! link CocWarningFloat TempColor
|
||||
|
||||
Reference in New Issue
Block a user