mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 01:55:08 +02:00
refactor, fix galaxyline
This commit is contained in:
parent
b98646ce7a
commit
16d67ecf76
5 changed files with 327 additions and 328 deletions
|
@ -7,6 +7,7 @@ function lv_utils.reload_lv_config()
|
|||
vim.cmd "source ~/.config/nvim/lua/core/formatter.lua"
|
||||
vim.cmd ":PackerCompile"
|
||||
vim.cmd ":PackerInstall"
|
||||
-- vim.cmd ":PackerClean"
|
||||
end
|
||||
|
||||
function lv_utils.check_lsp_client_active(name)
|
||||
|
@ -54,6 +55,11 @@ lv_utils.define_augroups {
|
|||
"*",
|
||||
"setlocal formatoptions-=c formatoptions-=r formatoptions-=o",
|
||||
},
|
||||
{
|
||||
"BufWinEnter",
|
||||
"dashboard",
|
||||
"setlocal cursorline signcolumn=yes cursorcolumn number",
|
||||
},
|
||||
{
|
||||
"BufRead",
|
||||
"*",
|
||||
|
@ -95,6 +101,7 @@ lv_utils.define_augroups {
|
|||
-- will cause split windows to be resized evenly if main window is resized
|
||||
{ "BufWritePost", "plugins.lua", "PackerCompile" },
|
||||
},
|
||||
|
||||
-- _fterm_lazygit = {
|
||||
-- -- will cause esc key to exit lazy git
|
||||
-- {"TermEnter", "*", "call LazyGitNativation()"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue