presentations/highlight-js/test/detect/vim/default.txt

18 lines
328 B
Text
Raw Permalink Normal View History

2018-12-07 08:48:05 -06:00
if foo > 2 || has("gui_running")
syntax on
set hlsearch
endif
set autoindent
" switch on highlighting
function UnComment(fl, ll)
while idx >= a:ll
let srclines=getline(idx)
let dstlines=substitute(srclines, b:comment, "", "")
call setline(idx, dstlines)
endwhile
endfunction
let conf = {'command': 'git'}