|
|
@ -1,11 +1,16 @@
|
|
|
|
vim.api.nvim_create_autocmd({ 'BufEnter' },
|
|
|
|
vim.api.nvim_create_autocmd({ 'BufEnter' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
callback = function() vim.o.foldenable = false end
|
|
|
|
callback = function()
|
|
|
|
|
|
|
|
vim.o.foldenable = false
|
|
|
|
|
|
|
|
require("knap").toggle_autopreviewing()
|
|
|
|
|
|
|
|
end
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd({ 'VimLeave' },
|
|
|
|
vim.api.nvim_create_autocmd({ 'VimLeave' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
callback = function() os.execute('mdclear ' .. vim.fn.expand('%')) end
|
|
|
|
callback = function()
|
|
|
|
|
|
|
|
os.execute('mdclear ' .. vim.fn.expand('%'))
|
|
|
|
|
|
|
|
end
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
vim.o.shiftwidth = 2
|
|
|
|
vim.o.shiftwidth = 2
|
|
|
|