diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-09-06 14:25:42 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-09-06 14:25:42 +0200 |
commit | 66b769328c4511b2273f01c70de971c41f6964dd (patch) | |
tree | 1fe435868038a674e2e6524617efa8b963b965db /ftplugin/ruby.vim | |
parent | ae18284e5af128e1fca0b42f284b558dd7dce73d (diff) | |
download | vim-polyglot-66b769328c4511b2273f01c70de971c41f6964dd.tar.gz vim-polyglot-66b769328c4511b2273f01c70de971c41f6964dd.zip |
Update
Diffstat (limited to 'ftplugin/ruby.vim')
-rw-r--r-- | ftplugin/ruby.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim index cc97760a..4edbbad6 100644 --- a/ftplugin/ruby.vim +++ b/ftplugin/ruby.vim @@ -90,7 +90,7 @@ endfunction function! s:build_path(path) abort let path = join(map(copy(a:path), 'v:val ==# "." ? "" : v:val'), ',') - if &g:path !~# '\v^\.%(,/%(usr|emx)/include)=,,$' + if &g:path !~# '\v^%(\.,)=%(/%(usr|emx)/include,)=,$' let path = substitute(&g:path,',,$',',','') . ',' . path endif return path |