summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/testdir/input/vim_ex_comment_strings.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/testdir/input/vim_ex_comment_strings.vim')
-rw-r--r--runtime/syntax/testdir/input/vim_ex_comment_strings.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/runtime/syntax/testdir/input/vim_ex_comment_strings.vim b/runtime/syntax/testdir/input/vim_ex_comment_strings.vim
new file mode 100644
index 0000000000..4214d6b3a0
--- /dev/null
+++ b/runtime/syntax/testdir/input/vim_ex_comment_strings.vim
@@ -0,0 +1,20 @@
+" Vim comment strings
+" VIM_TEST_SETUP let g:vimsyn_comment_strings = v:true
+
+" pre "string" post
+
+function Foo()
+ " pre "string" post
+endfunction
+
+def Bar()
+ # pre "string" post
+enddef
+
+command Foo {
+ # pre "string" post
+}
+
+autocmd BufNewFile * {
+ # pre "string" post
+}