diff --git a/nvim/.config/nvim/after/ftplugin/markdown.vim b/nvim/.config/nvim/after/ftplugin/markdown.vim index bcda2dd..74dfac2 100644 --- a/nvim/.config/nvim/after/ftplugin/markdown.vim +++ b/nvim/.config/nvim/after/ftplugin/markdown.vim @@ -1 +1,11 @@ setlocal spell +setlocal syntax=markdown.pandoc + +let g:pandoc#modules#disabled = ["folding"] +let g:pandoc#filetypes#handled = ["pandoc", "markdown"] +let g:pandoc#filetypes#pandoc_markdown = 1 +let g:pandoc#syntax#conceal#use = 0 +let g:pandoc#syntax#conceal#urls = 0 +let g:pandoc#keyboard#sections#header_style = "a" +let g:pandoc#keyboard#use_default_mappings = 1 +let g:pandoc#compiler#command = "pandoc" diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index d7f450a..d464a0a 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -139,8 +139,10 @@ local init = function () 'nvim-treesitter/nvim-treesitter', config = "require('treesitter')", } - -- LaTeX + -- All writing needs use 'lervag/vimtex' + use 'vim-pandoc/vim-pandoc' + use 'vim-pandoc/vim-pandoc-syntax' -- Dhall & nix use 'vmchale/dhall-vim' use 'LnL7/vim-nix'