From 7fefc760ba59da5279ca064eb7076b336fa330da Mon Sep 17 00:00:00 2001 From: eph Date: Thu, 26 Dec 2024 19:00:17 +0800 Subject: [PATCH] feat: help filetype will not ignore to refresh --- lua/outline/sidebar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/outline/sidebar.lua b/lua/outline/sidebar.lua index 0d79586..c9ca226 100644 --- a/lua/outline/sidebar.lua +++ b/lua/outline/sidebar.lua @@ -340,7 +340,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()