all repos

init.lua @ a1d022c8648d2a155125e5865ab7b70afa24d876

my nvim config
3 files changed, 28 insertions(+), 0 deletions(-)
feat(plugins): add neorg
Author: Smirnov Olexander ss2316544@gmail.com
Committed at: 2022-05-19 23:45:41 +0300
Parent: 5b33d03
M lua/configs/cmp.lua

@@ -101,6 +101,7 @@ end,

}, sources = { { name = "nvim_lua", max_item_count = 6 }, + { name = "neorg", max_item_count = 6 }, { name = "nvim_lsp", max_item_count = 6 }, { name = "buffer", max_item_count = 4 }, { name = "luasnip", max_item_count = 4 },
A lua/configs/neorg.lua

@@ -0,0 +1,19 @@

+require("neorg").setup { + load = { + ["core.defaults"] = {}, + ["core.norg.journal"] = {}, + ["core.norg.completion"] = { + config = { + engine = "nvim-cmp", + }, + }, + ["core.norg.dirman"] = { + config = { + workspaces = { + prog = "~/notes/programing", + self = "~/notes/self", + }, + }, + }, + }, +}
M lua/plugins.lua

@@ -77,6 +77,14 @@ config = u.get_config "configs.statusline",

} use { + "nvim-neorg/neorg", + ft = "norg", + after = "nvim-treesitter", + cmd = "Neorg", + config = u.get_config "configs.neorg", + } + + use { "kyazdani42/nvim-tree.lua", cmd = "NvimTreeToggle", config = u.get_config "configs.nvimtree",