From b46c53bc11241c4bb6e511a4e39df3842218cc10 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 11 Nov 2025 13:07:06 -0500 Subject: [PATCH] fix(lua): remove problematic Chinese help file to avoid encoding error --- lua/plugins/astrocore.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index 429cf14..86246ef 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -26,6 +26,11 @@ return { "ibhagwan/fzf-lua", "coder/claudecode.nvim", }, + init = function() + -- Remove problematic Chinese help file to avoid encoding error + local zh_doc = vim.fn.stdpath "data" .. "/lazy/claude-fzf.nvim/doc/claude-fzf-zh.txt" + if vim.fn.filereadable(zh_doc) == 1 then vim.fn.delete(zh_doc) end + end, opts = { auto_context = true, batch_size = 10,