Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function! ToggleJSLintHighlightErrorLine()
- if g:JSLintHighlightErrorLine == 1
- let g:JSLintHighlightErrorLine = 0
- else
- let g:JSLintHighlightErrorLine = 1
- endif
- JSLintUpdate
- endfunc
- autocmd FileType javascript nmap ,e :call ToggleJSLintHighlightErrorLine()<CR>
Add Comment
Please, Sign In to add comment