Browse Source

Show error on lines that are too long.

master
Daniel Perelman 2 years ago
parent
commit
c99504fd1b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      syntax/stonescript.vim

+ 3
- 0
syntax/stonescript.vim View File

@@ -41,6 +41,8 @@ syn keyword ssFoeProperty arachnid serpent insect machine
syn match ssFoeVar 'foe\(\.\(hp\|maxhp\|count\|armor\|distance\|debuffs\.count\)\)\?'
syn match ssSelfVar '\(hp\|maxhp\|armor\|maxarmor\|loc\|time\|pickup\|pickup\.distance\|pos\.x\|face\|debuffs\.count\)'

syn match ssOverLength /^.\{50,\}$/

hi def link ssComment Comment

hi def link ssStatement Statement
@@ -67,5 +69,6 @@ hi def link ssItemVariant Type
hi def link ssPrintLine String

hi def link ssUnknown Error
hi def link ssOverLength Error

let b:current_syntax = 'stonescript'

Loading…
Cancel
Save