summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2024-05-02 22:05:22 +0530
committerBrahmajit Das <brahmajit.xyz@gmail.com>2024-05-02 22:08:08 +0530
commitd9f2cc6d35b4cf1db0b8f7b32fdb184a60037033 (patch)
tree063ebf466da5c6a10a390ae209a79932686725e5
parent1ae07573179490ea0f131fa9a9b96b5d5b71b542 (diff)
nvim: lua: plugins: adding vim-pandoc/vim-pandoc plugin
Also disable treesitter highlighting for markdown Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
-rw-r--r--lua/plugins.lua3
-rw-r--r--lua/plugins/treesitter.lua1
2 files changed, 3 insertions, 1 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 4aae414..500a28e 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -47,7 +47,8 @@ require("lazy").setup({
-- Writing
{ "junegunn/goyo.vim", ft = { 'markdown', 'markdown.pandoc', 'tex', 'c' } },
{ "junegunn/limelight.vim", ft = { 'markdown', 'markdown.pandoc', 'tex', 'c' } },
- { "vim-pandoc/vim-pandoc-syntax", ft = { 'markdown', 'markdown.pandoc' } },
+ { "vim-pandoc/vim-pandoc", ft = { 'markdown', 'markdown.pandoc' }, lazy = false },
+ { "vim-pandoc/vim-pandoc-syntax", ft = { 'markdown', 'markdown.pandoc' }, lazy = false },
{ "lervag/vimtex", ft = { 'tex' }, lazy = false },
-- Git intigration
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
index 6300d6b..8190ac3 100644
--- a/lua/plugins/treesitter.lua
+++ b/lua/plugins/treesitter.lua
@@ -20,6 +20,7 @@ require 'nvim-treesitter.configs'.setup {
-- the name of the parser)
-- list of language that will be disabled
-- disable = { "c", "rust" },
+ disable = { "markdown" },
-- 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).