diff --git a/dotfiles/neovim/ftplugin/tex.lua b/dotfiles/neovim/ftplugin/tex.lua index 025177d..af73f0c 100644 --- a/dotfiles/neovim/ftplugin/tex.lua +++ b/dotfiles/neovim/ftplugin/tex.lua @@ -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" }, diff --git a/dotfiles/neovim/lua/my/plugins/treesitter.lua b/dotfiles/neovim/lua/my/plugins/treesitter.lua index e63a6d3..9d3445e 100644 --- a/dotfiles/neovim/lua/my/plugins/treesitter.lua +++ b/dotfiles/neovim/lua/my/plugins/treesitter.lua @@ -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).