File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change
1
+ * ~
2
+ * .swp
Original file line number Diff line number Diff line change 1
1
" Vim syntax file
2
- " Language: FANUC TP
3
- " Author: Jay Strybis <jay.strybis@gmail.com>
4
- " URL: http://github.com/onerobotics/vim-tp
5
- " License: MIT
2
+ " Language: FANUC TP
3
+ " Author: Jay Strybis <jay.strybis@gmail.com>
4
+ " Contributors: Ben Coady
5
+ " URL: http://github.com/onerobotics/vim-tp
6
+ " License: MIT
6
7
7
8
if exists (" b:current_syntax" )
8
9
finish
@@ -160,7 +161,7 @@ hi def link tpKeyword Keyword
160
161
161
162
" Comments
162
163
syn match tpComment / \(\s *\d *:\s *\)\@ <=!.*/ contains =@spell
163
- syn match tpComment / \(\s * \d *: \s * \)\@ <= --eg:.* / contains =@spell
164
+ syn region tpComment start = " --eg:" end = " ; " contains =@spell
164
165
syn match tpRemark / \(\s *\d *:\s *\)\@ <=\/\/ .*/
165
166
hi def link tpComment Comment
166
167
hi def link tpRemark Comment
You can’t perform that action at this time.
0 commit comments