From 914f26d04e6b9a61f7d4fc80ad433d75dac3f14b Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 29 Mar 2024 07:56:30 +0100 Subject: [PATCH] fix(tex): don't override conceallevel for tex. Not sure why that was added --- lua/lazyvim/plugins/extras/lang/tex.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lua/lazyvim/plugins/extras/lang/tex.lua b/lua/lazyvim/plugins/extras/lang/tex.lua index e8d4fefff..f8dacfb46 100644 --- a/lua/lazyvim/plugins/extras/lang/tex.lua +++ b/lua/lazyvim/plugins/extras/lang/tex.lua @@ -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,