summaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-06 14:25:42 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-06 14:25:42 +0200
commit66b769328c4511b2273f01c70de971c41f6964dd (patch)
tree1fe435868038a674e2e6524617efa8b963b965db /ftplugin
parentae18284e5af128e1fca0b42f284b558dd7dce73d (diff)
downloadvim-polyglot-66b769328c4511b2273f01c70de971c41f6964dd.tar.gz
vim-polyglot-66b769328c4511b2273f01c70de971c41f6964dd.zip
Update
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/ruby.vim2
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