fixed lualine
This commit is contained in:
parent
36ade9a42d
commit
d2985c8461
1 changed files with 23 additions and 7 deletions
|
|
@ -37,7 +37,7 @@ with lib;
|
||||||
telescope = true;
|
telescope = true;
|
||||||
treesitter = true;
|
treesitter = true;
|
||||||
cmp = true;
|
cmp = true;
|
||||||
lualine = true;
|
lualine = { };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -56,10 +56,6 @@ with lib;
|
||||||
};
|
};
|
||||||
clipboard.register = "unnamedplus";
|
clipboard.register = "unnamedplus";
|
||||||
|
|
||||||
extraPlugins = with pkgs.vimPlugins; [
|
|
||||||
plenary-nvim
|
|
||||||
];
|
|
||||||
|
|
||||||
globals.mapleader = " ";
|
globals.mapleader = " ";
|
||||||
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
|
|
@ -240,7 +236,9 @@ with lib;
|
||||||
lualine = {
|
lualine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
options.theme = "catppuccin";
|
options.theme = {
|
||||||
|
__raw = "(function() local ok, cp = pcall(require, 'catppuccin.utils.lualine'); return ok and cp() or 'auto' end)()";
|
||||||
|
};
|
||||||
tabline = {
|
tabline = {
|
||||||
lualine_a = [ ];
|
lualine_a = [ ];
|
||||||
lualine_b = [ ];
|
lualine_b = [ ];
|
||||||
|
|
@ -305,7 +303,25 @@ with lib;
|
||||||
|
|
||||||
lazygit.enable = true;
|
lazygit.enable = true;
|
||||||
|
|
||||||
telescope.enable = true;
|
telescope = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
defaults = {
|
||||||
|
vimgrep_arguments = [
|
||||||
|
"rg"
|
||||||
|
"--color=never"
|
||||||
|
"--no-heading"
|
||||||
|
"--with-filename"
|
||||||
|
"--line-number"
|
||||||
|
"--column"
|
||||||
|
"--smart-case"
|
||||||
|
"--hidden"
|
||||||
|
"--glob"
|
||||||
|
"!.git/*"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
luasnip.enable = true;
|
luasnip.enable = true;
|
||||||
|
|
||||||
cmp = {
|
cmp = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue