mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-06-18 15:56:39 +02:00
Add spell checking annotations to Vim syntax file
This commit is contained in:
parent
53d8b3ce05
commit
418991143e
@ -34,8 +34,6 @@ syntax case ignore
|
|||||||
" Set the keyword characters
|
" Set the keyword characters
|
||||||
syntax iskeyword a-z,A-Z
|
syntax iskeyword a-z,A-Z
|
||||||
|
|
||||||
" TODO spell checking - In a boxes config file, only comments should be spell checked.
|
|
||||||
|
|
||||||
|
|
||||||
"
|
"
|
||||||
" Key Words
|
" Key Words
|
||||||
@ -149,11 +147,12 @@ syntax region boxesNames matchgroup=boxesBoxStmt start=/\<box\s\+/ end=/\>[ \t\
|
|||||||
syntax match boxesDelim display /\<delim\%(iter\)\?\>/ nextgroup=delimRegion15,delimRegion06,delimRegion03,delimRegion04,delimRegion05,delimRegion02,delimRegion07,delimRegion08,delimRegion09,delimRegion10,delimRegion11,delimRegion12,delimRegion13,delimRegion14,delimRegion01,delimRegion16,delimRegion17,delimRegion18,delimRegion
|
syntax match boxesDelim display /\<delim\%(iter\)\?\>/ nextgroup=delimRegion15,delimRegion06,delimRegion03,delimRegion04,delimRegion05,delimRegion02,delimRegion07,delimRegion08,delimRegion09,delimRegion10,delimRegion11,delimRegion12,delimRegion13,delimRegion14,delimRegion01,delimRegion16,delimRegion17,delimRegion18,delimRegion
|
||||||
|
|
||||||
" Comments may appear anywhere in the file
|
" Comments may appear anywhere in the file
|
||||||
syntax match boxesComment display /#.*$/
|
syntax match boxesComment display /#.*$/ contains=@Spell
|
||||||
|
|
||||||
" The SAMPLE block
|
" The SAMPLE block
|
||||||
syntax region boxesSample matchgroup=boxesBlocks start="sample" end=+^[ \t]*ends[ \t\r]*$+ keepend
|
syntax region boxesSample matchgroup=boxesBlocks start="sample" end=+^[ \t]*ends[ \t\r]*$+ keepend
|
||||||
|
|
||||||
|
|
||||||
"
|
"
|
||||||
" Synchronisation
|
" Synchronisation
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user