Mercurial > vim
comparison src/testdir/test_options.vim @ 21672:9099eb378758 v8.2.1386
patch 8.2.1386: backslash not removed afer space with space in 'isfname'
Commit: https://github.com/vim/vim/commit/994b89d28dc54c896e00eba66e247addb0540272
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 7 19:12:41 2020 +0200
patch 8.2.1386: backslash not removed afer space with space in 'isfname'
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Aug 2020 19:15:04 +0200 |
parents | 6c634e63989c |
children | 08940efa6b4e |
comparison
equal
deleted
inserted
replaced
21671:c04ddd4aa245 | 21672:9099eb378758 |
---|---|
971 call assert_true(&winminwidth <= &columns) | 971 call assert_true(&winminwidth <= &columns) |
972 set winminwidth& | 972 set winminwidth& |
973 set winwidth& | 973 set winwidth& |
974 endfunc | 974 endfunc |
975 | 975 |
976 " Test for setting option value containing spaces with isfname+=32 | |
977 func Test_isfname_with_options() | |
978 set isfname+=32 | |
979 setlocal keywordprg=:term\ help.exe | |
980 call assert_equal(':term help.exe', &keywordprg) | |
981 set isfname& | |
982 setlocal keywordprg& | |
983 endfunc | |
984 | |
976 " vim: shiftwidth=2 sts=2 expandtab | 985 " vim: shiftwidth=2 sts=2 expandtab |