From d114443c3a1e2b8cc38b544bd872875087df754b Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 22 Dec 2023 08:55:23 -0600 Subject: [PATCH] feat(nvim): add nabla.nvim for math notation --- .../nvim/lua/plugins/configs/nabla.lua | 20 +++++++++++++++++++ .../nvim/lua/plugins/configs/vimtex.lua | 1 + 2 files changed, 21 insertions(+) create mode 100644 dots/.config/nvim/lua/plugins/configs/nabla.lua diff --git a/dots/.config/nvim/lua/plugins/configs/nabla.lua b/dots/.config/nvim/lua/plugins/configs/nabla.lua new file mode 100644 index 00000000..f043f109 --- /dev/null +++ b/dots/.config/nvim/lua/plugins/configs/nabla.lua @@ -0,0 +1,20 @@ +return { + { + "jbyuki/nabla.nvim", + keys = { + { ";nn", function() require("nabla").popup() end, desc = "Nabla: Popup" }, + { + ";nv", + function() + require("nabla").toggle_virt() + end, + desc = "Nabla: Toggle Virt Lines" + } + }, + ft = { + "org", + "tex" + }, + config = false + } +} diff --git a/dots/.config/nvim/lua/plugins/configs/vimtex.lua b/dots/.config/nvim/lua/plugins/configs/vimtex.lua index ed85db67..a36630dc 100644 --- a/dots/.config/nvim/lua/plugins/configs/vimtex.lua +++ b/dots/.config/nvim/lua/plugins/configs/vimtex.lua @@ -5,6 +5,7 @@ return { config = function() vim.g.vimtext_view_method = "zathura" vim.g.vimtex_view_general_viewer = "zathura" + vim.g.vimtex_syntax_conceal_disable = true end, }, }