Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error: stray ‘302’ in program
- error: stray ‘240’ in program
- " highlight VCS conflict markers
- " highlight strange Whitespace
- aug CustomHighlighting
- au!
- au WinEnter * if !exists("w:custom_hi1") | let w:custom_hi1 = matchadd('ErrorMsg', '^(<|=|>){7}([^=].+)?$') | endif
- au WinEnter * if !exists("w:custom_hi2") | let w:custom_hi2 = matchadd('ErrorMsg', '[x0bx0cu00a0u1680u180eu2000-u200au2028u202fu205fu3000ufeff]') | endif
- aug END
- :syntax match ErrorMsg " "
- au VimEnter,BufWinEnter * syn match ErrorMsg " "
- highlight UnbreakableSpace ctermbg=red guibg=red
- au VimEnter,BufWinEnter * syn match UnbreakableSpace " "
- :inoremap [lhs] <Space>
- execute "inoremap u00A0 <Space>"
Add Comment
Please, Sign In to add comment