also handle enums explicitly
This commit is contained in:
parent
b5f6a9b227
commit
b5a9979bfb
|
@ -31,6 +31,11 @@ def racer-complete -docstring "Complete the current selection with racer" %{
|
|||
sub(word, "{default+e}" word "{default+d}", menu)
|
||||
menu = "{default+d}" menu
|
||||
word = word "("
|
||||
} else if (type == "Enum") {
|
||||
menu = substr(menu, 0, length(menu) - 2)
|
||||
sub(word, "{default+e}" word "{default+d}", menu)
|
||||
menu = "{default+d}" menu
|
||||
word = word "::"
|
||||
} else {
|
||||
menu = "{default+e}" word "{default+d} " menu
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user