From fb627d2ac37a488f8e151858ef78ac68ffa6fecb Mon Sep 17 00:00:00 2001 From: gbprod Date: Thu, 9 Jan 2025 10:33:35 +0100 Subject: [PATCH] feat: fzf lua (#88) * feat: fzf lua * feat: snacks dashboard dir --- README.md | 1 + lua/nord/plugins/picker.lua | 13 +++++++++++++ lua/nord/plugins/ui.lua | 2 ++ 3 files changed, 16 insertions(+) diff --git a/README.md b/README.md index cc1fc84..88d1f50 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ and [the official vscode theme](https://github.com/arcticicestudio/nord-visual-s - [Markview](https://github.com/OXY2DEV/markview.nvim) - [Toggleterm](https://github.com/akinsho/toggleterm.nvim) - [Blink.cmp](https://github.com/saghen/blink.cmp) +- [fzf-lua](https://github.com/ibhagwan/fzf-lua) Your preferred plugin is missing ? Open an issue or, even better, open a pull request 😉. diff --git a/lua/nord/plugins/picker.lua b/lua/nord/plugins/picker.lua index 9c3d6f8..fac8285 100644 --- a/lua/nord/plugins/picker.lua +++ b/lua/nord/plugins/picker.lua @@ -9,6 +9,19 @@ function picker.highlights() TelescopeTitle = { fg = c.snow_storm.origin, bold = true }, TelescopePromptCounter = { fg = c.polar_night.light }, TelescopeMatching = { fg = c.frost.ice, bold = true }, + + FzfLuaBorder = { fg = c.polar_night.light, bg = utils.make_global_bg() }, + FzfLuaTitle = { fg = c.snow_storm.origin, bold = true }, + FzfLuaHeaderBind = { fg = c.frost.ice }, + FzfLuaHeaderText = { fg = c.frost.artic_ocean }, + FzfLuaPathColNr = { fg = c.frost.ice }, + FzfLuaPathLineNr = { fg = c.aurora.green }, + FzfLuaBufNr = { fg = c.aurora.yellow }, + FzfLuaBufFlagCur = { fg = c.aurora.red }, + FzfLuaBufFlagAlt = { fg = c.frost.ice }, + FzfLuaTabTitle = { fg = c.frost.artic_water }, + FzfLuaTabMarker = { fg = c.aurora.yellow }, + FzfLuaLiveSym = { fg = c.aurora.red }, } end diff --git a/lua/nord/plugins/ui.lua b/lua/nord/plugins/ui.lua index 145ad0a..3cdd585 100644 --- a/lua/nord/plugins/ui.lua +++ b/lua/nord/plugins/ui.lua @@ -124,6 +124,8 @@ function ui.highlights() IlluminatedWordText = { fg = c.none, bg = c.polar_night.brightest }, IlluminatedWordRead = { fg = c.none, bg = c.polar_night.brightest }, IlluminatedWordWrite = { fg = c.none, bg = c.polar_night.brightest }, + + SnacksDashboardDir = { link = "Comment" }, } end