diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-09 17:21:57 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-05-09 17:21:57 +1200 |
commit | 161e47f00cd5a1bdcef61097b7ba100ffd69a489 (patch) | |
tree | c5f72b8f96fe6851e6658d74b193c2406705e4ff | |
parent | Commit first version (diff) | |
parent | Handle missing +multi_byte feature (diff) | |
download | vim-html-spelllang-161e47f00cd5a1bdcef61097b7ba100ffd69a489.tar.gz vim-html-spelllang-161e47f00cd5a1bdcef61097b7ba100ffd69a489.zip |
* release/v0.2.0:
Handle missing +multi_byte feature
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | autoload/html/spelllang.vim | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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', \], '.') |