diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-07 19:12:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-07 19:12:41 +0200 |
commit | 994b89d28dc54c896e00eba66e247addb0540272 (patch) | |
tree | 8138e955bd32a204c8ed74318350c440208ef253 /src/testdir/test_options.vim | |
parent | de6804d871def4d8973ef3ca3eece4155a5c3ab1 (diff) | |
download | vim-git-994b89d28dc54c896e00eba66e247addb0540272.tar.gz |
patch 8.2.1386: backslash not removed afer space with space in 'isfname'v8.2.1386
Problem: Backslash not removed afer space in option with space in
'isfname'.
Solution: Do remove backslash before space, also when it is in 'isfname'.
(Yasuhiro Matsumoto, closes #6651)
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r-- | src/testdir/test_options.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index 8f27d9c4a..b3e9da78f 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -973,4 +973,13 @@ func Test_opt_winminwidth() set winwidth& endfunc +" Test for setting option value containing spaces with isfname+=32 +func Test_isfname_with_options() + set isfname+=32 + setlocal keywordprg=:term\ help.exe + call assert_equal(':term help.exe', &keywordprg) + set isfname& + setlocal keywordprg& +endfunc + " vim: shiftwidth=2 sts=2 expandtab |