fix: cannot change buf name (#66)
This commit is contained in:
parent
58af2b7f92
commit
43beba9957
@ -47,7 +47,9 @@ function View:setup(split_command, size)
|
||||
api.nvim_set_option_value("winhl", "", { win = self.win })
|
||||
|
||||
-- buffer stuff
|
||||
api.nvim_buf_set_name(self.buf, RESULT_BUF_NAME)
|
||||
xpcall(function()
|
||||
api.nvim_buf_set_name(self.buf, RESULT_BUF_NAME)
|
||||
end, function(err) end)
|
||||
|
||||
return self
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user