From da3fa2c4b9521aabd8b01d2d7547839a3ac8f42e Mon Sep 17 00:00:00 2001 From: pseudometa <73286100+chrisgrieser@users.noreply.github.com> Date: Mon, 26 Feb 2024 00:39:23 +0100 Subject: [PATCH] fix: autocompletion not triggering after quote character --- lua/cmp_emoji/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cmp_emoji/init.lua b/lua/cmp_emoji/init.lua index e7abbca..1210046 100644 --- a/lua/cmp_emoji/init.lua +++ b/lua/cmp_emoji/init.lua @@ -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