diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2024-11-29 11:56:11 -0500 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2024-11-29 11:56:11 -0500 |
| commit | 1c335d11faebba37e3f40737b059fe106c83c659 (patch) | |
| tree | 29f6fdc76e888899c533b60b3d8757ce8b799d29 /nvim/lua/plugins | |
| parent | 574a5fad3e7012f9fdb36f59798b72888384602b (diff) | |
Disable some markdown specific plugins
Diffstat (limited to 'nvim/lua/plugins')
| -rw-r--r-- | nvim/lua/plugins/filetypes.lua | 1 | ||||
| -rw-r--r-- | nvim/lua/plugins/nabla.lua | 25 |
2 files changed, 16 insertions, 10 deletions
diff --git a/nvim/lua/plugins/filetypes.lua b/nvim/lua/plugins/filetypes.lua index 3ed883a..e36562b 100644 --- a/nvim/lua/plugins/filetypes.lua +++ b/nvim/lua/plugins/filetypes.lua @@ -5,6 +5,7 @@ return { }, { 'vim-pandoc/vim-pandoc', + enabled = false, ft = { "markdown", "pandoc" }, keys = { { 'gO', vim.cmd.TOC, desc = "Table of contents" } diff --git a/nvim/lua/plugins/nabla.lua b/nvim/lua/plugins/nabla.lua index f2f5d89..2c48f6c 100644 --- a/nvim/lua/plugins/nabla.lua +++ b/nvim/lua/plugins/nabla.lua @@ -1,19 +1,24 @@ return { 'jbyuki/nabla.nvim', + enabled = false, dependencies = { - 'nvim-treesitter/nvim-treesitter' + 'nvim-treesitter/nvim-treesitter' }, - ft = {'markdown', 'pandoc', 'rmd'}, + ft = { 'markdown', 'pandoc', 'rmd' }, keys = { - { "<Leader>=p", function() - require('nabla').popup() - end, - desc = "Popup Nabla equation preview" + { + "<Leader>=p", + function() + require('nabla').popup() + end, + desc = "Popup Nabla equation preview" }, - { "<Leader>==", function() - require('nabla').toggle_virt() - end, - desc = "Toggle Nabla equation preview for the entire buffer" + { + "<Leader>==", + function() + require('nabla').toggle_virt() + end, + desc = "Toggle Nabla equation preview for the entire buffer" } } } |
