nvim: plugins: Drop vim-pandoc

Drop vim-pandoc as we want to move to syntax highlighting via
treesitter.
This commit is contained in:
Sanchayan Maity 2021-12-24 15:27:57 +05:30
parent 22e727b859
commit 8ed965088a
3 changed files with 2 additions and 18 deletions

View File

@ -1,17 +1,4 @@
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"
let g:pandoc#formatting#textwidth = 79
let g:pandoc#formatting#mode = "hA"
let g:pandoc#completion#bib#mode = 'citeproc'
let g:pandoc#syntax#codeblocks#embeds#langs = ["c", "rust", "haskell", "literatehaskell=lhaskell", "bash=sh"]
setlocal nospell
setlocal textwidth=80
autocmd! BufWritePost <buffer> lua require('lint').try_lint()

View File

@ -7,7 +7,6 @@ nvim_lint.linters_by_ft = {
javascript = { 'eslint' },
lua = { 'luacheck' },
markdown = { 'vale' },
pandoc = { 'vale' },
python = { 'pylint', 'mypy', 'flake8' },
sh = { 'shellcheck' },
typescript = { 'eslint' },

View File

@ -109,8 +109,6 @@ local init = function ()
}
-- All writing needs
use 'lervag/vimtex'
use 'vim-pandoc/vim-pandoc'
use 'vim-pandoc/vim-pandoc-syntax'
-- Dhall
use 'vmchale/dhall-vim'
-- For statusline