" Don't highlight Unicode table separator (e.g. vertical box drawing character). " See vimrc.d/looks.vim for w:ignore_non_ascii_chars if vimwiki#vars#get_syntaxlocal('rxTableSep') !~ '[\d0-\d127]' let w:ignore_non_ascii_chars = vimwiki#vars#get_syntaxlocal('rxTableSep') \ .. get(w:, 'ignore_non_ascii_chars', '') " Update after changes call HighlightNonASCIIChars() endif " Fold by sections function! MdSectionFold() let depth = len(matchstr(getline(v:lnum), '^#*')) return depth ? ">" . depth : "=" endfunction setlocal foldmethod=expr foldexpr=MdSectionFold() inoremap \ coc#pum#visible() ? CocPumNext(1) : \ CheckBackspace() ? "VimwikiTableNextCell" : \ coc#refresh() inoremap \ coc#pum#visible() ? CocPumPrev(1) : \ "VimwikiTablePrevCell"