diff --git a/outputs/pkgs/ook-vim/config/plugins/statusline.nix b/outputs/pkgs/ook-vim/config/plugins/statusline.nix index f376a24..c9c4216 100644 --- a/outputs/pkgs/ook-vim/config/plugins/statusline.nix +++ b/outputs/pkgs/ook-vim/config/plugins/statusline.nix @@ -28,7 +28,18 @@ } '' ]; - c = ["filename"]; + c = [ + #lua + '' + "%=", + { + "filename", + symbols = {modified = ' ', readonly = ' '}, + separator = {right = ' '}, + path = 1, + } + '' + ]; x = [ # lua '' @@ -47,6 +58,61 @@ } '' ]; + y = [ + #lua + '' + { + "", + draw_empty = true, + separator = { left = ' ', right = ' ' } + } + '' + '' + { + 'searchcount', + maxcount = 999, + timeout = 120, + separator = {left = ' '} + } + '' + '' + { + "branch", + icon = ' •', + separator = {left = ' '} + } + '' + ]; + z = [ + #lua + '' + { + "", + draw_empty = true, + separator = { left = ' ', right = ' ' } + } + '' + '' + { + "progress", + separator = {left = ' '} + } + '' + '' + {"location"} + '' + '' + { + "fileformat", + color = {fg='black'}, + symbols = { + unix = '', -- e712 + dos = '', -- e70f + mac = '', -- e711 + } + } + '' + ]; }; }; } diff --git a/outputs/pkgs/ook-vim/modules/plugins/gruvbox-material/config.nix b/outputs/pkgs/ook-vim/modules/plugins/gruvbox-material/config.nix index bfe4345..4af5235 100644 --- a/outputs/pkgs/ook-vim/modules/plugins/gruvbox-material/config.nix +++ b/outputs/pkgs/ook-vim/modules/plugins/gruvbox-material/config.nix @@ -1,7 +1,6 @@ { config, lib, - inputs, pkgs, ... }: let