diff --git a/plugin/functions.vim b/plugin/functions.vim index 0034ee4..f3c99c1 100644 --- a/plugin/functions.vim +++ b/plugin/functions.vim @@ -27,17 +27,3 @@ function! CloneHighlightGroupWithAttributes(group, new_group, attributes) exe 'hi '.a:new_group.' '.l:parameters. \' term='.a:attributes.' cterm='.a:attributes.' gui='.a:attributes endfunction - -function! s:Synstack() - for l:id in synstack(line('.'), col('.')) - let l:attributes = synIDattr(l:id, 'name') - let l:attr = synIDattr(l:id, 'fg') - if l:attr !=? '' - let l:attributes = l:attributes.' fg='.l:attr - endif - endfor -endfunction -command Synstack :call s:Synstack() - -" Invoke terminal command without prompt and then redraw. -command! -nargs=+ Silent execute 'silent ' | redraw! diff --git a/vimrc b/vimrc index de1928c..6529d24 100644 --- a/vimrc +++ b/vimrc @@ -13,6 +13,7 @@ if filereadable(expand('~/.vim/local.vim')) endif " vim-airline - improved status bar +" TODO: Get rid of airline and roll your own Plug 'vim-airline/vim-airline' for s:setting in ['left_sep', 'right_sep', 'section_error', 'section_warning'] exec 'let g:airline_'.s:setting.' = ""' @@ -21,6 +22,7 @@ endfor Plug 'mkitt/tabline.vim' " YouCompleteMe +" TODO: Try out neovim completion plugins to see if they are better if !platform#is_windows() " YouCompleteMe with parameter completion Plug 'oblitum/YouCompleteMe', {'do': './install.py --clang-completer'}