fix: migrating to 0.11

fix: migrating to 0.11

fix: migrating to 0.11

fix: migrating to 0.11
This commit is contained in:
27Onion Nebell
2025-04-11 23:57:47 +08:00
parent ae473fb51b
commit 5779c6f6a7
8 changed files with 54 additions and 63 deletions

View File

@@ -278,7 +278,7 @@ function M.show_status()
}
if buf and vim.api.nvim_buf_is_valid(buf) then
ctx.ft = vim.api.nvim_buf_get_option(buf, 'ft')
ctx.ft = vim.api.nvim_get_option_value('ft', { buf = buf })
ctx.filter = cfg.o.symbols.user_config_filter[ctx.ft]
-- 'else' is handled in help.lua
end