Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
added highlight error of words >32 char if not comment
  • Loading branch information
Patrick Meiser-Knosowski committed Dec 23, 2017
2 parents 5eb7625 + d185c9f commit 25b4be5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions syntax/rapid.vim
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
" Vim syntax file
" Language: ABB Rapid Command
" Maintainer: Patrick Meiser-Knosowski <knosowski@graeff.de>
" Version: 1.5.2
" Last Change: 20. Sep 2017
" Version: 1.5.3
" Last Change: 13. Dec 2017
" Credits:
"
" Suggestions of improvement are very welcome. Please email me!
Expand Down Expand Up @@ -245,6 +245,9 @@ else
if exists("g:rapidShowError") && g:rapidShowError==1
" some more or less common typos
"
" vars or funcs >32 chars are not possible in rapid. a234567890123456789012345
syn match rapidError /\w\{33,}/ containedin=rapidFunction,rapidNames,rapidLabel
"
syn match rapidError /\c\v^\s*\zs(esle>|endfi>|ednif>|ednwhile>|ednfor>)/
"
" WaitUntil a==b ok
Expand Down

0 comments on commit 25b4be5

Please sign in to comment.