blob: 8217be093d8dec12c13d7e8ac750b3baa4c5a432 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: plugin/gentoo-common.vim
===================================================================
--- plugin/gentoo-common.vim (revision 138)
+++ plugin/gentoo-common.vim (working copy)
@@ -28,7 +28,7 @@
return g:gentooarch
else
let l:a = system("portageq envvar ACCEPT_KEYWORDS 2>/dev/null")
- let l:a = substitute(l:a, "\\n\|\\~", " ", "g")
+ let l:a = substitute(l:a, "[\\n~]", " ", "g")
let l:a = substitute(l:a, "^\\s\\+", "", "")
let l:a = substitute(l:a, "\\s.*", "", "")
if l:a == ""
|