Skip to content

Commit

Permalink
fix: autocompletion not triggering after quote character
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored Feb 25, 2024
1 parent e9ab02a commit da3fa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cmp_emoji/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ source.get_trigger_characters = function()
return { ":" }
end
source.get_keyword_pattern = function()
return [=[\%(\s\|^\)\zs:[[:alnum:]_\-\+]*:\?]=]
return [=[\%([[:space:]"'`]\|^\)\zs:[[:alnum:]_\-\+]*:\?]=]
end

---creates the datastructure for cmp source
Expand Down

0 comments on commit da3fa2c

Please sign in to comment.