summaryrefslogtreecommitdiff
path: root/test/test_completion.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-21 16:18:08 +0000
committerw0rp <devw0rp@gmail.com>2017-11-21 16:18:08 +0000
commit8be85c2997a56c753a820ebaccb30fe7ea953d2c (patch)
tree836bd2cb875774ca746db9f709b875795ff4682c /test/test_completion.vader
parent3ef98f42bdb0d692346d4aab29bd0809a6d5bdd4 (diff)
downloadale-8be85c2997a56c753a820ebaccb30fe7ea953d2c.zip
Use some default regex for completion support in other filetypes
Diffstat (limited to 'test/test_completion.vader')
-rw-r--r--test/test_completion.vader3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_completion.vader b/test/test_completion.vader
index 3dfc2056..9662fc28 100644
--- a/test/test_completion.vader
+++ b/test/test_completion.vader
@@ -230,6 +230,9 @@ Execute(Completion should be done after words in parens in TypeScript):
Execute(Completion should not be done after parens in TypeScript):
AssertEqual '', ale#completion#GetPrefix(&filetype, 3, 15)
+Execute(Completion prefixes should work for other filetypes):
+ AssertEqual 'ab', ale#completion#GetPrefix('xxxyyyzzz', 3, 14)
+
Execute(ale#completion#Show() should remember the omnifunc setting and replace it):
let &l:omnifunc = 'FooBar'