pandoc: disable treesitter for markdown

- Disables treesitter for markdown to avoid conflicts with vim-pandoc*
  plugins.
- Sets the folding level to 1 for pandoc filetypes.
- Moves to a nord light theme.
- Fixes the treesitter configuration.

Co-Authored-by: iGor milhit <igor@milhit.ch>
iGor milhit 2024-03-28 15:58:53 +01:00
parent 8993a005d9
commit e88e14a2d4
Signed by: igor
GPG Key ID: 692D97C3D0228A99
2 changed files with 34 additions and 11 deletions

View File

@ -3,3 +3,4 @@
-- See :h awa
vim.opt.awa=true
vim.opt.foldlevel = 1

View File

@ -107,19 +107,29 @@ require('lazy').setup({
},
},
-- {
-- -- Nordic Theme
-- 'andersevenrud/nordic.nvim',
-- priority = 1000,
-- config = function()
-- require('nordic').colorscheme({
-- underline_option = 'none',
-- italic = true,
-- italic_comments = false,
-- minimal_mode = false,
-- alternate_backgrounds = false
-- })
-- end,
-- },
{
-- Nordic Theme
'andersevenrud/nordic.nvim',
-- "Mofiqul/adwaita.nvim",
"shaunsingh/nord.nvim",
lazy = false,
priority = 1000,
config = function()
require('nordic').colorscheme({
underline_option = 'none',
italic = true,
italic_comments = false,
minimal_mode = false,
alternate_backgrounds = false
})
end,
vim.cmd('colorscheme nord')
end
},
{
@ -342,10 +352,22 @@ require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim', 'json' },
-- Do not install parses synchronously
sync_install = false,
-- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
auto_install = false,
highlight = { enable = true },
-- List of parsers to ignore installing
ignore_install = { "markdown" },
-- Required property, but empr?
modules = {},
highlight = {
enable = true,
disable = { "markdown" },
},
indent = { enable = true, disable = { 'python' } },
incremental_selection = {
enable = true,