aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-03 03:51:57 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-07 23:14:42 -0500
commit63d8f08b0b04edd110c1b81d0a6e0c3d29ad4464 (patch)
tree83dbd41dfea4af4401bd2368b79c2369e2aae8f5 /src
parent45b8dc0c3df861e5fa9ba67f8ac5e0993d2dba5d (diff)
downloadrneovim-63d8f08b0b04edd110c1b81d0a6e0c3d29ad4464.tar.gz
rneovim-63d8f08b0b04edd110c1b81d0a6e0c3d29ad4464.tar.bz2
rneovim-63d8f08b0b04edd110c1b81d0a6e0c3d29ad4464.zip
vim-patch:8.1.1279: cannot set 'spellang' to "sr@latin"
Problem: Cannot set 'spellang' to "sr@latin". (Bojan Stipic) Solution: Allow using '@' in 'spellang'. (closes vim/vim#4342) https://github.com/vim/vim/commit/9a061cb78ccbf78ec9ae454d37a49edccb4e94fc
Diffstat (limited to 'src')
-rw-r--r--src/nvim/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 8c9c326a28..5a27ff21cc 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -2568,7 +2568,7 @@ static bool valid_filetype(const char_u *val)
bool valid_spellang(const char_u *val)
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT
{
- return valid_name(val, ".-_,");
+ return valid_name(val, ".-_,@");
}
/// Return true if "val" is a valid 'spellfile' value.