diff options
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | autoload/spellfile_local.vim | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1 +1 @@ -1.1.0 +1.1.1 diff --git a/autoload/spellfile_local.vim b/autoload/spellfile_local.vim index a7f7a7d..177503f 100644 --- a/autoload/spellfile_local.vim +++ b/autoload/spellfile_local.vim @@ -93,8 +93,8 @@ endfunction " that won't work nicely as filenames with percent signs function! s:Filename(parts) abort let pat = has('win32') || has('win64') - \ ? '\c[^[:filename:]]\|[\\/:*?"<>|]' - \ : '\c[^[:filename:]]\|[_/]' + \ ? '\c[^[:fname:]]\|\\' + \ : '\c[^[:fname:]]\|/' return substitute(join(a:parts, '.'), pat, '%', 'g') endfunction |