Add coc.sources.vimtex.filetypes configuration paramter so that users can enable this for non-latex filetypes e.g. markdown.
This allows for you to get latex autocompletion and features with coc.nvim in markdown/pandoc/other files, which is really useful. You just need to add call vimtex#init() to the ftplugin file for the filetype you want to enable this for as well.
Add
coc.sources.vimtex.filetypes
configuration paramter so that users can enable this for non-latex filetypes e.g. markdown.This allows for you to get latex autocompletion and features with
coc.nvim
in markdown/pandoc/other files, which is really useful. You just need to addcall vimtex#init()
to theftplugin
file for the filetype you want to enable this for as well.