Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jayli committed Dec 15, 2023
1 parent 787126b commit be5bf0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion autoload/easycomplete/ui.vim
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ function! easycomplete#ui#ApplyMarkdownSyntax(winid)
\ "matchgroup=Conceal end=/\%(``\)\@!`/ containedin=TOP concealends"],"")
let original_filetype = getwinvar(a:winid, "&filetype")
if has("nvim")
let local_filetype = has("nvim-0.10.0-dev") ? "txt" : "help"
let exec_cmd = [
\ "hi helpCommand cterm=underline gui=underline ctermfg=White guifg=White",
\ "silent! syntax clear NewCodeBlock",
\ regin_cmd,
\ "hi! link NewCodeBlock helpCommand",
\ "let &filetype='help'",
\ "let &filetype='" . local_filetype . "'",
\ ]
else
let exec_cmd = [
Expand Down

0 comments on commit be5bf0c

Please sign in to comment.