aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--VERSION2
-rw-r--r--autoload/html/spelllang.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 6e8bf73..0ea3a94 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.0
+0.2.0
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',
\], '.')