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 42a24d3 commit 56b4052Copy full SHA for 56b4052
lua/snippets/utils/cmp.lua
@@ -7,6 +7,10 @@ source.new = function()
7
return setmetatable({}, { __index = source })
8
end
9
10
+source.get_keyword_pattern = function()
11
+ return "\\%([^[:alnum:][:blank:]]\\|\\w\\+\\)"
12
+end
13
+
14
function source:is_available()
15
local ok, _ = pcall(require, "snippets")
16
return ok
0 commit comments