feat(nvim): add nabla.nvim for math notation
This commit is contained in:
parent
c6b79121c6
commit
d114443c3a
20
dots/.config/nvim/lua/plugins/configs/nabla.lua
Normal file
20
dots/.config/nvim/lua/plugins/configs/nabla.lua
Normal file
@ -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
|
||||
}
|
||||
}
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user