comparison runtime/syntax/scheme.vim @ 1619:b9740fb41986

updated for version 7.2a
author vimboss
date Tue, 24 Jun 2008 20:39:31 +0000
parents 125e80798a85
children 7bc41231fbc7
comparison
equal deleted inserted replaced
1618:46bbe11644e0 1619:b9740fb41986
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Scheme (R5RS) 2 " Language: Scheme (R5RS)
3 " Last Change: Nov 28, 2004 3 " Last Change: 2007 Jun 16
4 " Maintainer: Sergey Khorev <sergey.khorev@gmail.com> 4 " Maintainer: Sergey Khorev <sergey.khorev@gmail.com>
5 " Original author: Dirk van Deun <dirk@igwe.vub.ac.be> 5 " Original author: Dirk van Deun <dirk@igwe.vub.ac.be>
6 6
7 " This script incorrectly recognizes some junk input as numerals: 7 " This script incorrectly recognizes some junk input as numerals:
8 " parsing the complete system of Scheme numerals using the pattern 8 " parsing the complete system of Scheme numerals using the pattern
263 syn region ChickenC matchgroup=schemeComment start=+#>!+ end=+<#+ contains=@ChickenC 263 syn region ChickenC matchgroup=schemeComment start=+#>!+ end=+<#+ contains=@ChickenC
264 syn region ChickenC matchgroup=schemeComment start=+#>\$+ end=+<#+ contains=@ChickenC 264 syn region ChickenC matchgroup=schemeComment start=+#>\$+ end=+<#+ contains=@ChickenC
265 syn region ChickenC matchgroup=schemeComment start=+#>%+ end=+<#+ contains=@ChickenC 265 syn region ChickenC matchgroup=schemeComment start=+#>%+ end=+<#+ contains=@ChickenC
266 endif 266 endif
267 267
268 " suggested by Alex Queiroz
269 syn match schemeExtSyntax oneline "#![-a-z!$%&*/:<=>?^_~0-9+.@#%]\+"
270 syn region schemeString start=+#<#\s*\z(.*\)+ end=+^\z1$+
268 endif 271 endif
269 272
270 " Synchronization and the wrapping up... 273 " Synchronization and the wrapping up...
271 274
272 syn sync match matchPlace grouphere NONE "^[^ \t]" 275 syn sync match matchPlace grouphere NONE "^[^ \t]"