From b258143eab2d0bae11e4aa3e10d5a4aa05156a6e Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Mon, 26 Jun 2023 23:25:41 +0530 Subject: [PATCH] refactor: add dressing and update the lualine to show full path on file --- lua/plugins/ui.lua | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/lua/plugins/ui.lua b/lua/plugins/ui.lua index 4a95c52..03a8518 100644 --- a/lua/plugins/ui.lua +++ b/lua/plugins/ui.lua @@ -4,7 +4,15 @@ return { dependencies = { "nvim-tree/nvim-web-devicons", }, - opts = {}, + opts = { + sections = { + lualine_a = { + "mode", + }, + lualine_b = { "branch", "diff", "diagnostics" }, + lualine_c = { { "filename", path = 1 } }, + }, + }, }, { @@ -29,7 +37,6 @@ return { "lukas-reineke/indent-blankline.nvim", event = { "BufReadPost", "BufNewFile" }, opts = { - -- char = "▏", char = "│", filetype_exclude = { "help", @@ -78,4 +85,25 @@ return { }) end, }, + + { + "stevearc/dressing.nvim", + opts = { + select = { + enabled = true, + backend = { + "telescope", + "fzf", + "builtin", + "nui", + }, + telescope = require("telescope.themes").get_ivy(), + }, + }, + }, + + { + "rcarriga/nvim-notify", + opts = {}, + }, }