Skip to content

Commit

Permalink
Merge pull request #13 from dpi0/bugfix/vim-buffer-on-reload
Browse files Browse the repository at this point in the history
Remove nvim_buf_set_name causing Vim:E95 on Lazy reload
  • Loading branch information
itmecho authored Sep 27, 2024
2 parents e52c927 + 50fc4a2 commit 5389334
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 5389334

Please sign in to comment.