diff --git a/nvim/plugins/default.nix b/nvim/plugins/default.nix index 8628930..e1e51e3 100644 --- a/nvim/plugins/default.nix +++ b/nvim/plugins/default.nix @@ -18,7 +18,16 @@ }; }; lspkind.enable = true; - lualine = import ./lualine.nix; + lualine = { + enable = true; + theme = "gruvbox"; + sections = { + lualine_a = [{ name = "mode"; }]; + lualine_b = [{ name = "filename"; } { name = "branch"; }]; + lualine_y = [{ name = "encoding"; } { name = "fileformat"; } { name = "filetype"; }]; + lualine_z = [{ name = "location"; }]; + }; + }; luasnip = { enable = true; extraConfig = { update_events = "TextChanged,TextChangedI"; }; diff --git a/nvim/plugins/lualine.nix b/nvim/plugins/lualine.nix deleted file mode 100644 index 14c88e5..0000000 --- a/nvim/plugins/lualine.nix +++ /dev/null @@ -1,50 +0,0 @@ -{ - enable = true; - theme = "gruvbox"; - sections = { - lualine_a = [ "mode" ]; - lualine_b = [ "filename" "branch" ]; - lualine_c = [ - { - lsp_progress = { - separators = { - component = " "; - progress = " | "; - percentage = { - pre = ""; - post = "%% "; - }; - title = { - pre = ""; - post = ": "; - }; - lsp_client_name = { - pre = "["; - post = "]"; - }; - spinner = { - pre = ""; - post = ""; - }; - message = { - pre = "("; - post = ")"; - commenced = "In Progress"; - completed = "Completed"; - }; - }; - display_components = [ "lsp_client_name" "spinner" "title" "percentage" "message" ]; - timer = { - progress_enddelay = 500; - spinner = 1000; - lsp_client_name_enddelay = 1000; - }; - spinner_symbols = [ "🌑 " "🌒 " "🌓 " "🌔 " "🌕 " "🌖 " "🌗 " "🌘 " ]; - }; - } - ]; - lualine_x = [ ]; - lualine_y = [ "encoding" "fileformat" "filetype" ]; - lualine_z = [ "location" ]; - }; -}