summaryrefslogtreecommitdiff
path: root/tests/examplefiles/vimrc
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-05-14 03:09:36 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-05-14 03:09:36 -0400
commitf5c7cf39365c0f4b84c8add66ab46ee1c9167ab8 (patch)
tree9355c31dbdb9c03527665da140186f744e7d37f0 /tests/examplefiles/vimrc
parentc40ffd6b71d696e69e6087e8d4f210f759b9573d (diff)
downloadpygments-f5c7cf39365c0f4b84c8add66ab46ee1c9167ab8.tar.gz
Add vim script exmaple file
Diffstat (limited to 'tests/examplefiles/vimrc')
-rw-r--r--tests/examplefiles/vimrc21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/examplefiles/vimrc b/tests/examplefiles/vimrc
new file mode 100644
index 00000000..d2f9cd1b
--- /dev/null
+++ b/tests/examplefiles/vimrc
@@ -0,0 +1,21 @@
+" A comment
+
+:py print "py"
+::pyt print 'pyt'
+ pyth print '''pyth'''
+ : pytho print "pytho"
+python print """python"""
+
+ : : python<<E OF
+print """my script"""
+
+def MyFunc(str):
+ """ My Function """
+ print str
+E OF
+
+let py = 42
+echo py
+
+let foo = 42
+echo foo