diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-05 16:55:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-05 16:55:03 +0200 |
commit | 9a061cb78ccbf78ec9ae454d37a49edccb4e94fc (patch) | |
tree | d43d47e13b3ed49c57e6240cfb69d63b56d5d13a /src/option.c | |
parent | 58187f1c8a7095dbe0237a8208fa7f7bc899f246 (diff) | |
download | vim-git-9a061cb78ccbf78ec9ae454d37a49edccb4e94fc.tar.gz |
patch 8.1.1279: cannot set 'spellang' to "sr@latin"v8.1.1279
Problem: Cannot set 'spellang' to "sr@latin". (Bojan Stipic)
Solution: Allow using '@' in 'spellang'. (closes #4342)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 9583aa369..657c011b1 100644 --- a/src/option.c +++ b/src/option.c @@ -6057,7 +6057,7 @@ valid_filetype(char_u *val) int valid_spellang(char_u *val) { - return valid_name(val, ".-_,"); + return valid_name(val, ".-_,@"); } /* |