Index: lib/src/prism/tests/languages/vim/function_feature.test |
diff --git a/lib/src/prism/tests/languages/vim/function_feature.test b/lib/src/prism/tests/languages/vim/function_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1cc763adf062cfa7713bb2ced9d1b1b2c77ee5b1 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/vim/function_feature.test |
@@ -0,0 +1,13 @@ |
+has("mac") |
+exists("s:call_count") |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["function", "has"], ["punctuation", "("], ["string", "\"mac\""], ["punctuation", ")"], |
+ ["function", "exists"], ["punctuation", "("], ["string", "\"s:call_count\""], ["punctuation", ")"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for functions. |