From 1c70e8039ac2af89ca43b60fd6aa42feb51a0f2e Mon Sep 17 00:00:00 2001 From: Adam Beck Date: Wed, 18 Jun 2025 14:37:52 -0400 Subject: [PATCH] Add lualine, and change fzf-lua to file first --- lua/custom/plugins/init.lua | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index 609a000a..184afbf8 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -29,7 +29,12 @@ return { opts = {}, config = function() require('fzf-lua').setup { - grep = {}, + grep = { + formatter = 'path.filename_first', + }, + files = { + formatter = 'path.filename_first', -- places file name first + }, } local builtin = require 'fzf-lua' @@ -95,11 +100,11 @@ return { }, -- you can enable a preset for easier configuration presets = { - bottom_search = true, -- use a classic bottom cmdline for search + bottom_search = false, -- use a classic bottom cmdline for search command_palette = true, -- position the cmdline and popupmenu together long_message_to_split = true, -- long messages will be sent to a split inc_rename = false, -- enables an input dialog for inc-rename.nvim - lsp_doc_border = false, -- add a border to hover docs and signature help + lsp_doc_border = true, -- add a border to hover docs and signature help }, } end, @@ -112,6 +117,23 @@ return { 'rcarriga/nvim-notify', }, }, + { + 'nvim-lualine/lualine.nvim', + dependencies = { 'nvim-tree/nvim-web-devicons' }, + config = function() + require('lualine').setup { + sections = { + lualine_x = { + { + require('noice').api.statusline.mode.get, + cond = require('noice').api.statusline.mode.has, + color = { fg = '#ff9e64' }, + }, + }, + }, + } + end, + }, { 'nvimdev/lspsaga.nvim', config = function()