mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 17:03:39 +02:00
fix(tex): don't override conceallevel for tex. Not sure why that was added
This commit is contained in:
parent
3def2097ad
commit
914f26d04e
1 changed files with 0 additions and 8 deletions
|
@ -28,14 +28,6 @@ return {
|
||||||
"lervag/vimtex",
|
"lervag/vimtex",
|
||||||
lazy = false, -- lazy-loading will disable inverse search
|
lazy = false, -- lazy-loading will disable inverse search
|
||||||
config = function()
|
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_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"
|
vim.g.vimtex_quickfix_method = vim.fn.executable("pplatex") == 1 and "pplatex" or "latexlog"
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue