Remove cruft and add TODO's
This commit is contained in:
parent
4040dc7508
commit
e32c6824f6
@ -27,17 +27,3 @@ function! CloneHighlightGroupWithAttributes(group, new_group, attributes)
|
|||||||
exe 'hi '.a:new_group.' '.l:parameters.
|
exe 'hi '.a:new_group.' '.l:parameters.
|
||||||
\' term='.a:attributes.' cterm='.a:attributes.' gui='.a:attributes
|
\' term='.a:attributes.' cterm='.a:attributes.' gui='.a:attributes
|
||||||
endfunction
|
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
2
vimrc
@ -13,6 +13,7 @@ if filereadable(expand('~/.vim/local.vim'))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" vim-airline - improved status bar
|
" vim-airline - improved status bar
|
||||||
|
" TODO: Get rid of airline and roll your own
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
for s:setting in ['left_sep', 'right_sep', 'section_error', 'section_warning']
|
for s:setting in ['left_sep', 'right_sep', 'section_error', 'section_warning']
|
||||||
exec 'let g:airline_'.s:setting.' = ""'
|
exec 'let g:airline_'.s:setting.' = ""'
|
||||||
@ -21,6 +22,7 @@ endfor
|
|||||||
Plug 'mkitt/tabline.vim'
|
Plug 'mkitt/tabline.vim'
|
||||||
|
|
||||||
" YouCompleteMe
|
" YouCompleteMe
|
||||||
|
" TODO: Try out neovim completion plugins to see if they are better
|
||||||
if !platform#is_windows()
|
if !platform#is_windows()
|
||||||
" YouCompleteMe with parameter completion
|
" YouCompleteMe with parameter completion
|
||||||
Plug 'oblitum/YouCompleteMe', {'do': './install.py --clang-completer'}
|
Plug 'oblitum/YouCompleteMe', {'do': './install.py --clang-completer'}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user