Remove cruft and add TODO's

This commit is contained in:
Kenneth Benzie 2017-11-20 22:40:18 +00:00
parent 4040dc7508
commit e32c6824f6
2 changed files with 2 additions and 14 deletions

View File

@ -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 <args>' | redraw!

2
vimrc
View File

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