aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-05-09 17:21:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-05-09 17:21:57 +1200
commit161e47f00cd5a1bdcef61097b7ba100ffd69a489 (patch)
treec5f72b8f96fe6851e6658d74b193c2406705e4ff /autoload
parentCommit first version (diff)
parentHandle missing +multi_byte feature (diff)
downloadvim-html-spelllang-master.tar.gz
vim-html-spelllang-master.zip
Merge branch 'release/v0.2.0'HEADv0.2.0master
* release/v0.2.0: Handle missing +multi_byte feature
Diffstat (limited to 'autoload')
-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',
\], '.')