vim - enable mark and youcompleteme
[dotfiles.git] / vim / vimrc
index 4489591..cb3fef0 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -26,7 +26,7 @@ Bundle 'vim-scripts/gtags.vim'
 Bundle 'kshenoy/vim-signature'
 Bundle 'nathanaelkane/vim-indent-guides'
 Bundle 'rking/ag.vim'
-"Bundle 'payneseu/mark-2.8.4'
+Bundle 'payneseu/mark-2.8.4'
 "Bundle 'derekwyatt/vim-fswitch'
 Bundle 'sjl/gundo.vim'
 Bundle 'tpope/vim-markdown'
@@ -295,7 +295,7 @@ nnoremap <silent> sr     :FufRenewCache<CR>
 "syntax on, must before the YCM,
 
 "let g:ycm_collect_identifiers_from_tags_files = 1
-"let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
+let g:ycm_global_ycm_extra_conf = '~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/ycm/.ycm_extra_conf.py'
 " this is fix youcompleteme python error
 "http://www.cnblogs.com/clivelee/p/4266559.html
 "https://github.com/Valloric/YouCompleteMe/issues/18
@@ -513,7 +513,8 @@ autocmd FileType c,cpp setlocal foldmethod=syntax |
     \ let b:AutoClosePairs = AutoClose#DefaultPairsModified("\"", "{}") |
        \ inoremap <buffer> { {<CR>}<ESC>kA<CR>|
     \ nnoremap <buffer> <silent> <C-]> :let word=expand("<cword>")<CR>:wincmd o<cr>:vsp<CR>:exec("tag ". word)<cr>zzzr:wincmd w<cr>
-autocmd FileType python setlocal foldmethod=indent
+autocmd FileType python setlocal foldmethod=indent |
+    \ set list
 
 autocmd FileType xml setlocal foldmethod=syntax |
        \ let g:xml_syntax_folding=1