Skip to content

Commit

Permalink
autoload variables in ftplugin
Browse files Browse the repository at this point in the history
  • Loading branch information
madox2 committed Apr 21, 2023
1 parent 940fd18 commit a939c66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ftplugin/aichat.vim
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function! s:IsHighlightSourcesEnabledForBuffer()
endfunction

function! s:MarkdownRefreshSyntax(force)
call vim_ai_config#load()
if g:vim_ai_chat_default['ui']['code_syntax_enabled'] && &filetype =~# 'aichat'
call s:MarkdownHighlightSources(a:force)
call s:MarkdownHighlightChatOptions(a:force)
Expand Down

0 comments on commit a939c66

Please sign in to comment.