We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd87941 commit cbde6cfCopy full SHA for cbde6cf
1 file changed
lua/fnpairs/init.lua
@@ -132,8 +132,10 @@ end)
132
local should_skip_completion = function(char)
133
local state = State.new()
134
local prev_char = get_char_before(state).value
135
- return char == "'" and prev_char and string.match(prev_char, '[%w]') and Action.Nothing
136
- or Action.Insert(char, BracketPair[char])
+ if char == "'" and prev_char and string.match(prev_char, '[%w]') then
+ return Action.Insert(char, BracketPair[char])
137
+ end
138
139
end
140
141
local determine_char_action = function(char)
0 commit comments