当前位置: 首页 > 工具软件 > Conceal > 使用案例 >

vim的conceal

苗烈
2023-12-01
syntax match haskOperator "->" conceal cchar=→
syntax match haskOperator "<-" conceal cchar=←

highlight! link haskOperator Normal
setlocal conceallevel=2
highlight Conceal ctermbg=none ctermfg=none guibg=none guifg=none
//不想覆盖其他语法组时使用none.

每秒自动重画状态行:

function! RedrawTabline(timerID)
  silent redrawtabline
endfunction
call timer_start(1000, 'RedrawTabline', {'repeat': -1})
//耗时.
 类似资料: