Skip to content

Commit

Permalink
fix(tex): don't override conceallevel for tex. Not sure why that was …
Browse files Browse the repository at this point in the history
…added
  • Loading branch information
folke committed Mar 29, 2024
1 parent 3def209 commit 914f26d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lua/lazyvim/plugins/extras/lang/tex.lua
Expand Up @@ -28,14 +28,6 @@ return {
"lervag/vimtex",
lazy = false, -- lazy-loading will disable inverse search
config = function()
vim.api.nvim_create_autocmd({ "FileType" }, {
group = vim.api.nvim_create_augroup("lazyvim_vimtex_conceal", { clear = true }),
pattern = { "bib", "tex" },
callback = function()
vim.wo.conceallevel = 2
end,
})

vim.g.vimtex_mappings_disable = { ["n"] = { "K" } } -- disable `K` as it conflicts with LSP hover
vim.g.vimtex_quickfix_method = vim.fn.executable("pplatex") == 1 and "pplatex" or "latexlog"
end,
Expand Down

0 comments on commit 914f26d

Please sign in to comment.