Skip to content

Commit

Permalink
Remove nvim_buf_set_name causing Vim:E95 on Lazy reload
Browse files Browse the repository at this point in the history
  • Loading branch information
dpi0 committed Sep 26, 2024
1 parent 7d2d9b9 commit 50fc4a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/neoterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ function neoterm.open(opts)
if buf_created then
vim.cmd([[term]])
state.chan = vim.b.terminal_job_id
vim.api.nvim_buf_set_name(state.bufh, "neoterm")
vim.api.nvim_buf_set_option(state.bufh, "buflisted", false)
end
end
Expand Down

0 comments on commit 50fc4a2

Please sign in to comment.