nvim: Add pandoc support
This commit is contained in:
parent
77c1d52544
commit
8e07da50c9
2 changed files with 13 additions and 1 deletions
|
@ -1 +1,11 @@
|
||||||
setlocal spell
|
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"
|
||||||
|
|
|
@ -139,8 +139,10 @@ local init = function ()
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
config = "require('treesitter')",
|
config = "require('treesitter')",
|
||||||
}
|
}
|
||||||
-- LaTeX
|
-- All writing needs
|
||||||
use 'lervag/vimtex'
|
use 'lervag/vimtex'
|
||||||
|
use 'vim-pandoc/vim-pandoc'
|
||||||
|
use 'vim-pandoc/vim-pandoc-syntax'
|
||||||
-- Dhall & nix
|
-- Dhall & nix
|
||||||
use 'vmchale/dhall-vim'
|
use 'vmchale/dhall-vim'
|
||||||
use 'LnL7/vim-nix'
|
use 'LnL7/vim-nix'
|
||||||
|
|
Loading…
Reference in a new issue