Patch 8.2.1926
Problem:    Cannot use a space in 'spellfile'. (Filipe Brandenburger)
Solution:   Permit using a space. (closes #7230)
Files:      src/spell.c, src/testdir/gen_opt_test.vim


*** ../vim-8.2.1925/src/spell.c 2020-09-28 23:13:09.950705432 +0200
--- src/spell.c 2020-10-30 19:24:18.633832089 +0100
***************
*** 4340,4346 ****
      char_u *s;
  
      for (s = val; *s != NUL; ++s)
!       if (!vim_isfilec(*s) && *s != ',')
            return FALSE;
      return TRUE;
  }
--- 4340,4346 ----
      char_u *s;
  
      for (s = val; *s != NUL; ++s)
!       if (!vim_isfilec(*s) && *s != ',' && *s != ' ')
            return FALSE;
      return TRUE;
  }
*** ../vim-8.2.1925/src/testdir/gen_opt_test.vim        2020-10-28 
20:19:56.376057067 +0100
--- src/testdir/gen_opt_test.vim        2020-10-30 19:23:20.985997941 +0100
***************
*** 130,136 ****
        \ 'selectmode': [['', 'mouse', 'key,cmd'], ['xxx']],
        \ 'sessionoptions': [['', 'blank', 'help,options,slash'], ['xxx']],
        \ 'signcolumn': [['', 'auto', 'no'], ['xxx', 'no,yes']],
!       \ 'spellfile': [['', 'file.en.add'], ['xxx', '/tmp/file']],
        \ 'spelllang': [['', 'xxx', 'sr@latin'], ['not&lang', "that\\\rthere"]],
        \ 'spelloptions': [['', 'camel'], ['xxx']],
        \ 'spellsuggest': [['', 'best', 'double,33'], ['xxx']],
--- 130,136 ----
        \ 'selectmode': [['', 'mouse', 'key,cmd'], ['xxx']],
        \ 'sessionoptions': [['', 'blank', 'help,options,slash'], ['xxx']],
        \ 'signcolumn': [['', 'auto', 'no'], ['xxx', 'no,yes']],
!       \ 'spellfile': [['', 'file.en.add', '/tmp/dir\ with\ 
space/en.utf-8.add'], ['xxx', '/tmp/file']],
        \ 'spelllang': [['', 'xxx', 'sr@latin'], ['not&lang', "that\\\rthere"]],
        \ 'spelloptions': [['', 'camel'], ['xxx']],
        \ 'spellsuggest': [['', 'best', 'double,33'], ['xxx']],
*** ../vim-8.2.1925/src/version.c       2020-10-30 19:04:39.049202455 +0100
--- src/version.c       2020-10-30 19:22:23.966161988 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     1926,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
159. You get excited whenever discussing your hard drive.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202010301825.09UIPbKO2782083%40masaka.moolenaar.net.

Raspunde prin e-mail lui