We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 800a118 commit e1f7d90Copy full SHA for e1f7d90
nature/abbr.lua
@@ -21,7 +21,8 @@ hilbish.abbr.add {
21
}
22
23
bait.catch('hilbish.rawInput', function(c)
24
- if c == ' ' then -- space
+ -- 0x0d == enter
25
+ if c == ' ' or c == string.char(0x0d) then
26
-- check if the last "word" was a valid abbreviation
27
local line = hilbish.editor.getLine()
28
local lineSplits = string.split(line, ' ')
0 commit comments