Remove cruft and add TODO's

This commit is contained in:
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!