escape pipe from closure in the description
This commit is contained in:
parent
58bde719e1
commit
b5f6a9b227
|
@ -22,6 +22,7 @@ def racer-complete -docstring "Complete the current selection with racer" %{
|
||||||
word = $2
|
word = $2
|
||||||
type = $7
|
type = $7
|
||||||
desc = substr($9, 2, length($9) - 2)
|
desc = substr($9, 2, length($9) - 2)
|
||||||
|
gsub(/\|/, "\\|", desc)
|
||||||
gsub(/\\n/, "\n", desc)
|
gsub(/\\n/, "\n", desc)
|
||||||
menu = $8
|
menu = $8
|
||||||
sub(/^pub /, "", menu)
|
sub(/^pub /, "", menu)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user