aboutsummaryrefslogtreecommitdiff
path: root/autoload/html/spelllang.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/html/spelllang.vim')
-rw-r--r--autoload/html/spelllang.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/html/spelllang.vim b/autoload/html/spelllang.vim
index dfabf40..264540b 100644
--- a/autoload/html/spelllang.vim
+++ b/autoload/html/spelllang.vim
@@ -41,7 +41,7 @@ function! html#spelllang#Set() abort
"
let spellfile = 'spell/' . join([
\ tolower(matches[1]),
- \ &encoding,
+ \ (has('multi_byte') ? &encoding : 'ascii'),
\ 'spl',
\], '.')