Skip to content

Commit

Permalink
added kss functions for sptp et al
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Meiser-Knosowski committed Dec 8, 2017
1 parent 135c536 commit 5944529
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion syntax/krl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ endif
" Statement
" syn match krlStatement /\v^\s*(<global>\s+)?<INTERRUPT>(\s+<decl>)?/ contains=krlStorageClass
syn match krlStatement /\v(<global>\s+)?<INTERRUPT>(\s+<decl>)?/ contains=krlStorageClass
syn keyword krlStatement WAIT SEC ON OFF ENABLE DISABLE STOP TRIGGER WITH WHEN DISTANCE PATH DELAY DO PRIO IMPORT IS MINIMUM MAXIMUM CONFIRM ON_ERROR_PROCEED
syn keyword krlStatement WAIT SEC ON OFF ENABLE DISABLE STOP TRIGGER WITH WHEN DISTANCE PATH ONSTART DELAY DO PRIO IMPORT IS MINIMUM MAXIMUM CONFIRM ON_ERROR_PROCEED
highlight default link krlStatement Statement
" Conditional
syn keyword krlConditional IF THEN ELSE ENDIF SWITCH CASE DEFAULT ENDSWITCH
Expand Down Expand Up @@ -271,6 +271,7 @@ syn keyword krlBuildInFunction contained StrAdd StrClear StrCopy StrComp StrFind
syn keyword krlBuildInFunction contained Clear_KrlMsg SET_SYSTEM_DATA SET_SYSTEM_DATA_DELAYED Set_KrlDlg Exists_KrlDlg Set_KrlMsg Exists_KrlMsg
syn keyword krlBuildInFunction contained Err_Clear Err_Raise
syn keyword krlBuildInFunction contained varstate EK EB LK sync MD_CMD MD_SETSTATE MBX_REC
syn keyword krlBuildInFunction contained SVEL_JOINT STOOL2 SBASE SIPO_MODE SLOAD SACC_JOINT SGEAR_JERK SAPO_PTP SVEL_CP SACC_CP SAPO SORI_TYP SJERK
if exists("g:krlNoHighlight") && g:krlNoHighlight==1
\|| exists("g:krlNoHighLink") && g:krlNoHighLink==1
highlight default link krlBuildInFunction BuildInFunction
Expand Down

0 comments on commit 5944529

Please sign in to comment.