some neorg fixes

This commit is contained in:
Oliver Hartmann 2023-09-28 14:27:00 +02:00
parent 02e55b113b
commit 713a7072b1
3 changed files with 13 additions and 6 deletions

View File

@ -81,8 +81,10 @@ api.nvim_create_autocmd('VimResized', { command = [[wincmd =]] })
vim.api.nvim_create_autocmd({ 'UIEnter' }, { vim.api.nvim_create_autocmd({ 'UIEnter' }, {
callback = function(event) callback = function(event)
local client = vim.api.nvim_get_chan_info(vim.v.event.chan).client local client = vim.api.nvim_get_chan_info(vim.v.event.chan).client
if client ~= nil and client.name == "Firenvim" then if client ~= nil and client.name == 'Firenvim' then
vim.o.laststatus = 0 vim.o.laststatus = 0
end end
end end
}) })
vim.api.nvim_create_autocmd({ 'BufEnter', 'BufWinEnter' }, { pattern = { '*.norg' }, command = 'set conceallevel=3' })

View File

@ -88,6 +88,7 @@ return {
end, end,
}, },
sources = { sources = {
{ name = 'neorg', priority = 8 },
{ name = 'luasnip', priority = 8 }, { name = 'luasnip', priority = 8 },
{ name = 'nvim_lsp', priority = 7 }, { name = 'nvim_lsp', priority = 7 },
{ name = 'nvim_lsp_signature_help', priority = 7 }, { name = 'nvim_lsp_signature_help', priority = 7 },

View File

@ -11,6 +11,10 @@ return {
load = { load = {
['core.defaults'] = {}, -- Loads default behaviour ['core.defaults'] = {}, -- Loads default behaviour
['core.concealer'] = {}, -- Adds pretty icons to your documents ['core.concealer'] = {}, -- Adds pretty icons to your documents
['core.completion'] = {
config = {
engine = 'nvim-cmp'}
}, -- Adds pretty icons to your documents
['core.dirman'] = { -- Manages Neorg workspaces ['core.dirman'] = { -- Manages Neorg workspaces
config = { config = {
workspaces = { workspaces = {