Changes between Version 2 and Version 3 of CodingGuidelines/VIM
- Timestamp:
- Aug 12, 2009, 12:06:41 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodingGuidelines/VIM
v2 v3 12 12 call matchadd('ErrorMsg', 'for(', -1) "for without space 13 13 call matchadd('ErrorMsg', 'if(', -1) " if without space 14 call matchadd('ErrorMsg', 'while(', -1) " while without space 14 call matchadd('ErrorMsg', 'select(', -1) 15 call matchadd('ErrorMsg', 'while(', -1) 16 call matchadd('Search', '[a-z-A-Z0-9][,=/+\-*;][a-zA-Z0-9]', -1) " operator with no space around it 17 call matchadd('Search', '[,=/+\-* ]$', -1) " operator or whitespace at end of line 18 15 19 :endfu 16 20