nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
97eccaa
)
vim doc: fix constructor names in generated doc
author
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 20 Aug 2015 15:35:15 +0000
(11:35 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 20 Aug 2015 15:46:27 +0000
(11:46 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/doc/vim_autocomplete.nit
patch
|
blob
|
history
diff --git
a/src/doc/vim_autocomplete.nit
b/src/doc/vim_autocomplete.nit
index
290ed9d
..
c16b4fc
100644
(file)
--- a/
src/doc/vim_autocomplete.nit
+++ b/
src/doc/vim_autocomplete.nit
@@
-207,8
+207,11
@@
redef class MClassType
else stream.write "~ " # protected_visibility
if prop isa MMethod then
- if prop.is_init and prop.name != "init" then stream.write "init "
- if prop.is_new and prop.name != "new" then stream.write "new "
+ if prop.is_new and prop.name != "new" then
+ stream.write "new "
+ else if prop.is_init and prop.name != "init" then
+ stream.write "init "
+ end
end
stream.write prop.name