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 0599f47 commit 2a6479aCopy full SHA for 2a6479a
lua/luasnip-snippets/utils/common_cond.lua
@@ -15,6 +15,9 @@ local function line_begin_show_maker(trig)
15
local _, col = unpack(vim.api.nvim_win_get_cursor(0))
16
local line = vim.api.nvim_get_current_line()
17
local trigger = line:sub(1, col):match("%S+$")
18
+ if trigger == nil then
19
+ return false
20
+ end
21
if #trigger > #trig then
22
return false
23
end
0 commit comments