Guest User

Untitled

a guest
Oct 23rd, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. error: stray ‘302’ in program
  2. error: stray ‘240’ in program
  3.  
  4. " highlight VCS conflict markers
  5. " highlight strange Whitespace
  6. aug CustomHighlighting
  7. au!
  8. au WinEnter * if !exists("w:custom_hi1") | let w:custom_hi1 = matchadd('ErrorMsg', '^(<|=|>){7}([^=].+)?$') | endif
  9. au WinEnter * if !exists("w:custom_hi2") | let w:custom_hi2 = matchadd('ErrorMsg', '[x0bx0cu00a0u1680u180eu2000-u200au2028u202fu205fu3000ufeff]') | endif
  10. aug END
  11.  
  12. :syntax match ErrorMsg " "
  13.  
  14. au VimEnter,BufWinEnter * syn match ErrorMsg " "
  15.  
  16. highlight UnbreakableSpace ctermbg=red guibg=red
  17. au VimEnter,BufWinEnter * syn match UnbreakableSpace " "
  18.  
  19. :inoremap [lhs] <Space>
  20.  
  21. execute "inoremap u00A0 <Space>"
Add Comment
Please, Sign In to add comment