some neorg fixes
This commit is contained in:
parent
02e55b113b
commit
713a7072b1
@ -78,11 +78,13 @@ api.nvim_create_autocmd('BufEnter', { command = [[set formatoptions-=cro]] })
|
|||||||
-- Keep window ratio when resize
|
-- Keep window ratio when resize
|
||||||
api.nvim_create_autocmd('VimResized', { command = [[wincmd =]] })
|
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' })
|
||||||
|
@ -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 },
|
||||||
|
@ -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 = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user