适配我的termux、架构判断提取为全局变量、重写ufo使用lsp折叠相关配置

This commit is contained in:
tiny 2026-04-26 01:09:44 +00:00
parent 08a226d9ee
commit ca576a6090
7 changed files with 33 additions and 37 deletions

View file

@ -71,6 +71,10 @@ autocmd BufLeave * :silent !fcitx5-remote -c
]])
-- 意为: 当 进入插入模式、创建Buf、进入Buf、离开Buf 时 触发shell命令 fcitx-remote -c 关闭输入法,改为英文输入
-- 架构判断
local arch = jit and jit.arch or ""
_G.IS_ARM = arch:match("arm") or arch:match("aarch64") ~= nil
-- 日志高亮关键字
vim.filetype.add({
extension = { -- 后缀名