mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
22 lines
444 B
Lua
22 lines
444 B
Lua
local ok, neorg = pcall(require, 'neorg')
|
|
if not ok then return end;
|
|
|
|
local ok, cmp = pcall(require, 'cmp')
|
|
if not ok then return end;
|
|
|
|
local cmp_config = cmp.get_config()
|
|
table.insert(cmp_config.sources, { name = "neorg" })
|
|
cmp.setup(cmp_config)
|
|
|
|
require('neorg').setup {
|
|
load = {
|
|
["core.defaults"] = {},
|
|
["core.norg.concealer"] = {},
|
|
["core.norg.completion"] = {
|
|
config = {
|
|
engine = "nvim-cmp"
|
|
}
|
|
}
|
|
}
|
|
}
|