Skip to content

Commit

Permalink
fix: remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Oct 24, 2024
1 parent 0626cb5 commit 9846c2d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/blink/cmp/sources/snippets/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9846c2d

Please sign in to comment.