Solved a problem with double quotes in "#include" directive; if double
quotes were used the entire file was interpreted as a unique string.

--- a/runtime/syntax/slice.vim  2012-04-04 11:53:33.689000011 +0000
+++ b/runtime/syntax/slice.vim  2013-03-08 11:36:54.158999985 +0000
@@ -20,6 +20,7 @@
 syn keyword sliceBoolean    false true

 " Include directives
+syn region  sliceIncluded    display contained start=+"+
skip=+\\\\\|\\"+ end=+"+
 syn match   sliceIncluded   display contained "<[^>]*>"
 syn match   sliceInclude    display "^\s*#\s*include\>\s*["<]"
contains=sliceIncluded

Regards,
Sebastiano Merlino

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


--- a/runtime/syntax/slice.vim	2012-04-04 11:53:33.689000011 +0000
+++ b/runtime/syntax/slice.vim	2013-03-08 11:36:54.158999985 +0000
@@ -20,6 +20,7 @@
 syn keyword sliceBoolean    false true
 
 " Include directives
+syn region  sliceIncluded    display contained start=+"+ skip=+\\\\\|\\"+ end=+"+
 syn match   sliceIncluded   display contained "<[^>]*>"
 syn match   sliceInclude    display "^\s*#\s*include\>\s*["<]" contains=sliceIncluded
 

Raspunde prin e-mail lui