aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'vim/autoload')
-rw-r--r--vim/autoload/spellfile_local.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/autoload/spellfile_local.vim b/vim/autoload/spellfile_local.vim
index e4759737..f3d9b987 100644
--- a/vim/autoload/spellfile_local.vim
+++ b/vim/autoload/spellfile_local.vim
@@ -22,7 +22,7 @@ function! spellfile_local#() abort
set spellfile<
let spelllangs = s:SplitOption(&spelllang)
- if !len(spelllangs) || &spelllang[0] ==# ''
+ if !len(spelllangs) || spelllangs[0] ==# ''
echoerr 'Blank ''spelllang'''
endif
let spelllang = substitute(spelllangs[0], '_.*', '', '')