Skip to content

Commit

Permalink
Add Neorg plugin and configure to taste
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jun 8, 2023
1 parent b0c721d commit e8d8825
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .config/nvim/lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -652,4 +652,48 @@ return require("packer").startup(function (use)

use { "junegunn/vader.vim" }

use { "nvim-neorg/neorg",
tag = "*",
-- ft = "norg",
after = {
"nvim-treesitter",
"telescope.nvim",
},
run = ":Neorg sync-parsers",
requires = {
"hrsh7th/nvim-cmp",
"nvim-lua/plenary.nvim",
"nvim-neorg/neorg-telescope",
},
config = function ()
require("neorg").setup {
load = {
["core.defaults"] = {},
["core.completion"] = {
config = {
engine = "nvim-cmp",
},
},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/notes",
},
},
},
["core.integrations.telescope"] = {},
},
}
require("cmp").setup.buffer {
sources = {
{ name = "buffer" },
{ name = "calc" },
{ name = "neorg" },
{ name = "spell" },
}
}
end,
}

end)

0 comments on commit e8d8825

Please sign in to comment.