Merge: Vim omnifunc diffentiate between types, class declaration and instanciation
authorJean Privat <jean@pryen.org>
Tue, 10 Feb 2015 03:32:29 +0000 (10:32 +0700)
committerJean Privat <jean@pryen.org>
Tue, 10 Feb 2015 03:32:29 +0000 (10:32 +0700)
commit104c5e8c1efa31c8944ad22b132891474c648b8d
tree43f111f5a4d0858601507f86e9dabb0310653242
parenta537279a64901c4d87e15e2053a980694df24acc
parent8d74a12824b372bb7727713cea72331095fdfce6
Merge: Vim omnifunc diffentiate between types, class declaration and instanciation

The main improvement is the knowledge of constructors. They will be suggested along with their class after a `new`, ex: `new Arr`, it will autocomplete to `Array[E]`, `Array[E].with_items`, etc. It will also show their corresponding documentation.

Also detect the keywords `isa` and `as`.

Pull-Request: #1156
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>