mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-02 21:44:29 +02:00
add: update config
This commit is contained in:
parent
c651a8ca42
commit
a81806cab8
15 changed files with 363 additions and 407 deletions
|
@ -64,6 +64,15 @@ vim.api.nvim_create_autocmd("User", {
|
|||
pcall(vim.cmd.AlphaRedraw)
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd({ "User" }, {
|
||||
pattern = { "AlphaReady" },
|
||||
callback = function()
|
||||
vim.cmd([[
|
||||
set laststatus=0 | autocmd BufUnload <buffer> set laststatus=3
|
||||
]])
|
||||
end,
|
||||
})
|
||||
-- ignore filetypes in MRU
|
||||
startify.mru_opts.ignore = function(path, ext)
|
||||
return (string.find(path, "COMMIT_EDITMSG")) or (vim.tbl_contains(default_mru_ignore, ext))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue