aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 7826714..d3038c8 100644
--- a/init.lua
+++ b/init.lua
@@ -40,7 +40,11 @@ end
local function is_multibyte(ch)
local byte = ch:byte()
-- return (195 == byte) or (208 == byte) or (209 == byte)
- return (byte > 191)
+ if not byte then
+ return false
+ else
+ return (byte > 191)
+ end
end
table_merge(characters, base_chars)