pandoc: disable treesitter for markdown
- Disables treesitter for markdown to avoid conflicts with vim-pandoc* plugins. - Sets the folding level to 2 for pandoc filetypes. - Moves to a nord light theme. - Fixes the treesitter configuration. Co-Authored-by: iGor milhit <igor@milhit.ch>
parent
8993a005d9
commit
dbd9fec291
|
@ -3,3 +3,4 @@
|
|||
-- See :h awa
|
||||
|
||||
vim.opt.awa=true
|
||||
vim.opt.foldlevel = 2
|
||||
|
|
44
init.lua
44
init.lua
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue