Skip to content

Commit

Permalink
fix: set buftype before filetype (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Alvarez committed Jul 22, 2021
1 parent 059ea2b commit 169b2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/trouble/view.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ function View:setup(opts)
vim.api.nvim_buf_set_name(self.buf, "Trouble")
end
self:set_option("bufhidden", "wipe")
self:set_option("filetype", "Trouble")
self:set_option("buftype", "nofile")
self:set_option("filetype", "Trouble")
self:set_option("swapfile", false)
self:set_option("buflisted", false)
self:set_option("winfixwidth", true, true)
Expand Down

0 comments on commit 169b2ec

Please sign in to comment.