Use some default regex for completion support in other filetypes

This commit is contained in:
w0rp 2017-11-21 16:18:08 +00:00
parent 3ef98f42bd
commit 8be85c2997
2 changed files with 6 additions and 3 deletions

View file

@ -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'