mirror of
https://github.com/cap153/nvim.git
synced 2026-05-02 11:33:51 +08:00
适配我的termux、架构判断提取为全局变量、重写ufo使用lsp折叠相关配置
This commit is contained in:
parent
08a226d9ee
commit
ca576a6090
7 changed files with 33 additions and 37 deletions
|
|
@ -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 = { -- 后缀名
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue