some neorg fixes
This commit is contained in:
@ -78,11 +78,13 @@ api.nvim_create_autocmd('BufEnter', { command = [[set formatoptions-=cro]] })
|
||||
-- Keep window ratio when resize
|
||||
api.nvim_create_autocmd('VimResized', { command = [[wincmd =]] })
|
||||
|
||||
vim.api.nvim_create_autocmd({'UIEnter'}, {
|
||||
callback = function(event)
|
||||
local client = vim.api.nvim_get_chan_info(vim.v.event.chan).client
|
||||
if client ~= nil and client.name == "Firenvim" then
|
||||
vim.o.laststatus = 0
|
||||
end
|
||||
vim.api.nvim_create_autocmd({ 'UIEnter' }, {
|
||||
callback = function(event)
|
||||
local client = vim.api.nvim_get_chan_info(vim.v.event.chan).client
|
||||
if client ~= nil and client.name == 'Firenvim' then
|
||||
vim.o.laststatus = 0
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd({ 'BufEnter', 'BufWinEnter' }, { pattern = { '*.norg' }, command = 'set conceallevel=3' })
|
||||
|
Reference in New Issue
Block a user