Open SivanLaai opened 1 year ago
Hi @SivanLaai, sorry for the slow reply. The fact that TeXMagicConfigFound
is returning nil
indicates that your TeXMagic config isn't being found or loaded, which leads me to think this isn't a TeXMagic plugin issue. As a troubleshooting step, I would suggest taking your call of the setup function (require('texmagic').setup({...})
) and placing it in the config function where you load the plugin:
{
lazy = false,
"jakewvincent/texmagic.nvim",
config = function()
require("texmagic").setup({
engines = {
-- your engines here
}
})
end
}
If TeXMagicConfigFound
returns true
when the plugin is configured in this way, then there's something going on with how your config file is loaded. Let me know what the result is.
I use Nvchad as my nvimrc.
I install texlab and texmagic in my nvim, but
_G.TeXMagicBuildConfig
is nil, which can't be used in TexBuild. TexBuild use the default config to generate files in current directory.I add texmagic in file
custom\plugins.lua
custom.configs.texmagic
lspconfig
relative value