mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: improvements
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
lazygit.enable = true;
|
||||
mergetool.enable = true;
|
||||
trouble.enable = true;
|
||||
undotree.enable = true;
|
||||
base = {
|
||||
completion.enable = true;
|
||||
diagnostics.enable = true;
|
||||
|
||||
@@ -24,6 +24,10 @@ in
|
||||
else
|
||||
vim.g.${cfg.varName} = not vim.g.${cfg.varName}
|
||||
end
|
||||
local lualine, lib = pcall(require, 'lualine')
|
||||
if lualine then
|
||||
lib.refresh()
|
||||
end
|
||||
end
|
||||
'';
|
||||
|
||||
|
||||
@@ -55,6 +55,10 @@ in
|
||||
else
|
||||
vim.g.${cfg.varName} = not vim.g.${cfg.varName}
|
||||
end
|
||||
local lualine, lib = pcall(require, 'lualine')
|
||||
if lualine then
|
||||
lib.refresh()
|
||||
end
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ in
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
extraConfigLua = # lua
|
||||
extraConfigLuaPre = # lua
|
||||
''
|
||||
require("actions-preview").setup({})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user