Use vimtex for latex highlighting I guess (might reverse this later)
This commit is contained in:
parent
b7672414dd
commit
b9ce1d1f87
|
@ -2,20 +2,24 @@ local A = require("my.abbreviations")
|
|||
|
||||
require("my.helpers.wrapMovement").setup()
|
||||
|
||||
vim.opt.conceallevel = 1
|
||||
vim.opt.conceallevel = 0
|
||||
vim.opt.wrap = true
|
||||
|
||||
vim.g.tex_conceal = "abdmg"
|
||||
-- vim.g.vimtex_syntax_conceal = 1
|
||||
vim.g.vimtex_imaps_enabled = 0
|
||||
|
||||
local abbreviations = {
|
||||
-- Greek chars
|
||||
{ "eps", "\\epsilon" },
|
||||
{ "delta", "\\delta" },
|
||||
{ "Delta", "\\Delta" },
|
||||
{ "pi", "\\pi" },
|
||||
{ "psi", "\\psi" },
|
||||
{ "psi", "\\psi" },
|
||||
{ "alpha", "\\alpha" },
|
||||
{ "beta", "\\beta" },
|
||||
{ "theta", "\\theta" },
|
||||
{ "gamma", "\\gamma" },
|
||||
{ "nuls", "\\varnothing" },
|
||||
|
||||
|
@ -53,6 +57,8 @@ local abbreviations = {
|
|||
{ "dhx", "h'(x)" },
|
||||
|
||||
-- Basic commands
|
||||
{ "mangle", "\\measuredangle" },
|
||||
{ "aangle", "\\angle" },
|
||||
{ "creq", "\\\\&=" },
|
||||
{ "aeq", "&=" },
|
||||
{ "leq", "\\leq" },
|
||||
|
|
|
@ -12,7 +12,7 @@ function M.setup()
|
|||
highlight = {
|
||||
enable = true,
|
||||
|
||||
disable = { "kotlin", "tex" },
|
||||
disable = { "kotlin", "tex", "latex" },
|
||||
|
||||
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
||||
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
||||
|
|
Loading…
Reference in a new issue