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 nospell
setlocal syntax=markdown.pandoc setlocal textwidth=80
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"]
autocmd! BufWritePost <buffer> lua require('lint').try_lint() autocmd! BufWritePost <buffer> lua require('lint').try_lint()

View file

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

View file

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