fix(nvim): remove leftover prints within python fstring snippet

This commit is contained in:
Price Hiller 2025-01-03 16:28:44 -06:00
parent 8454b104c4
commit 440416118a
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -24,13 +24,10 @@ vim.api.nvim_create_autocmd("InsertCharPre", {
return
end
vim.print(node:type())
local row, col, _, _ = vim.treesitter.get_node_range(node)
-- Return early if string is already a format string
local first_char = vim.api.nvim_buf_get_text(opts.buf, row, col, row, col + 1, {})[1]
vim.print("row " .. row .. " col " .. col)
vim.print("char: '" .. first_char .. "'")
if first_char == "f" then
return
end