Skip to content

Commit

Permalink
Merge pull request #108 from epheien/feat-view-filter
Browse files Browse the repository at this point in the history
feat: add view.filter option
  • Loading branch information
hedyhli authored Dec 27, 2024
2 parents 0d057fa + 7fefc76 commit f656ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/outline/sidebar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function Sidebar:__refresh()
end
local ft = vim.api.nvim_buf_get_option(buf, 'ft')
local listed = vim.api.nvim_buf_get_option(buf, 'buflisted')
if ft == 'OutlineHelp' or not listed then
if ft == 'OutlineHelp' or not (listed or ft == 'help') then
return
end
self.provider, self.provider_info = providers.find_provider()
Expand Down

0 comments on commit f656ef1

Please sign in to comment.