nvim: Add pandoc support

This commit is contained in:
Sanchayan Maity 2020-12-12 17:20:42 +05:30
parent 77c1d52544
commit 8e07da50c9
2 changed files with 13 additions and 1 deletions

View file

@ -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"

View file

@ -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'