From 9846c2d2bfdeaa3088c9c0143030524402fffdf9 Mon Sep 17 00:00:00 2001 From: Liam Dyer Date: Thu, 24 Oct 2024 16:10:59 -0400 Subject: [PATCH] fix: remove debug prints --- lua/blink/cmp/sources/snippets/utils.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/lua/blink/cmp/sources/snippets/utils.lua b/lua/blink/cmp/sources/snippets/utils.lua index 88806e1a..dfae98b1 100644 --- a/lua/blink/cmp/sources/snippets/utils.lua +++ b/lua/blink/cmp/sources/snippets/utils.lua @@ -70,9 +70,7 @@ function utils.get_tab_stops(snippet) local lines = tostring(child) == '' and {} or vim.split(tostring(child), '\n') line = line + math.max(#lines - 1, 0) character = #lines == 0 and character or #lines > 1 and #lines[#lines] or (character + #lines[#lines]) - vim.print('Line: ' .. line .. ' Character: ' .. character) if child.type == grammar.NodeType.Placeholder or child.type == grammar.NodeType.Tabstop then - vim.print(child) table.insert(tabstops, { index = child.data.tabstop, line = line, character = character }) end end