Fix for neorg 8.0.0

This commit is contained in:
Fabrice Mouhartem 2024-03-27 00:37:22 +01:00
parent f00d49600f
commit 646415fd07
2 changed files with 11 additions and 4 deletions

View File

@ -247,9 +247,16 @@ require('lazy').setup({
'vim-pandoc/vim-pandoc-syntax',
-- neorg
{
'nvim-neorg/neorg',
build = ':Neorg sync-parsers',
dependencies = { "nvim-lua/plenary.nvim" },
"vhyrro/luarocks.nvim",
priority = 1000, -- We'd like this plugin to load first out of the rest
config = true, -- This automatically runs `require("luarocks-nvim").setup()`
},
{
"nvim-neorg/neorg",
dependencies = { "luarocks.nvim" },
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
version = "*", -- Pin Neorg to the latest stable release
-- config = true,
},
-- vim-speeddating
'tpope/vim-speeddating',

View File

@ -3,7 +3,7 @@
vim.defer_fn(function()
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', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash' },
ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'javascript', 'typescript', 'vimdoc', 'vim', 'bash', 'norg' },
ignore_install = {'latex', 'tex', 'markdown'},
disable = {'latex', 'tex', 'markdown'},