nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10356f2
)
misc/vim: use shorter … char
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 7 Feb 2015 16:54:54 +0000
(11:54 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Sun, 8 Feb 2015 18:13:10 +0000
(13:13 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
misc/vim/plugin/nit.vim
patch
|
blob
|
history
diff --git
a/misc/vim/plugin/nit.vim
b/misc/vim/plugin/nit.vim
index
928643d
..
23e557a
100644
(file)
--- a/
misc/vim/plugin/nit.vim
+++ b/
misc/vim/plugin/nit.vim
@@
-139,7
+139,7
@@
fun NitOmnifuncAddAMatch(matches, words, name)
let desc = get(a:words, 3, '')
let desc = join(split(desc, '#nnnn#', 1), "\n")
if strlen(pretty) > 40
- let pretty = pretty[:37] . '...'
+ let pretty = pretty[:39] . '…'
endif
call add(a:matches, {'word': a:name, 'abbr': pretty, 'menu': synopsis, 'info': desc, 'dup': 1})
endfun