Skip to content

Commit

Permalink
remove redefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
armed committed Aug 6, 2023
1 parent add13c4 commit b38d43e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/nvim-paredit/api/form.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function M.wrap_element_under_cursor(prefix, suffix)

M.wrap_element(buf, current_element, prefix, suffix)

local lang = langs.get_language_api()
local parser = vim.treesitter.get_parser(buf, vim.bo.filetype)
parser:parse()
local enclosing_form = traversal.find_nearest_form(ts.get_node_at_cursor(), {
Expand Down

0 comments on commit b38d43e

Please sign in to comment.