Skip to content

Commit

Permalink
feat: Support fzf-lua plugin
Browse files Browse the repository at this point in the history
fixed #221
  • Loading branch information
ful1e5 committed May 7, 2023
1 parent ad87dde commit fd22add
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `lib.log` - A logging library to print log Messages.
- The `config.default` module has been changed to a variable and moved inside the `config` module.
- Support [Fidget](https://github.com/j-hui/fidget.nvim) plugin highlights #202
- Support [fzf-lua](https://github.com/ibhagwan/fzf-lua) plugin highlights #221

### Issues Fix

- #157 fixed
- #160 closed due to inactivity.
- #191 closed due to inactivity.
- #193 closed with conversation.
- #201 fixed
- #209 fixed
- #235 fixed with conversation.
- #213 fixed
- #225 closed with conversation.
- #228 fixed
- #229 closed with conversation.
- #231 fixed
- #232 closed due to inactivity.
- #235 fixed with conversation.
- #238 fixed
- #239 fixed
- #241 fixed
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ vim.cmd('colorscheme github_dark')
[diffview.nvim](https://github.com/sindrets/diffview.nvim),
[fidget.nvim](https://github.com/j-hui/fidget.nvim),
[fsread.nvim](https://github.com/nullchilly/fsread.nvim),
[fzf-lua](https://github.com/ibhagwan/fzf-lua),
[gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim),
[indent-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim),
[lsp-trouble.nvim](https://github.com/folke/lsp-trouble.nvim),
Expand Down
1 change: 1 addition & 0 deletions lua/github-theme/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ M.module_names = {
'dashboard',
'diagnostic',
'fidget',
'fzf',
'gitgutter',
'gitsigns',
'indent_blankline',
Expand Down
24 changes: 24 additions & 0 deletions lua/github-theme/group/modules/fzf.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
-- https://github.com/ibhagwan/fzf-lua

local M = {}

function M.get(spec, config, opts)
-- stylua: ignore
return {
FzfLuaNormal = { link = 'Normal' },
FzfLuaBorder = { link = 'Normal' },
FzfLuaCursor = { link = 'Cursor' },
FzfLuaCursorLine = { link = 'CursorLine' },
FzfLuaCursorLineNr = { link = 'CursorLineNr' },
FzfLuaSearch = { link = 'IncSearch' },
FzfLuaTitle = { link = 'Title' },
FzfLuaScrollBorderEmpty = { link = 'FzfLuaBorder' },
FzfLuaScrollBorderFull = { link = 'FzfLuaBorder' },
FzfLuaScrollFloatEmpty = { link = 'PmenuSbar' },
FzfLuaScrollFloatFull = { link = 'PmenuThumb' },
FzfLuaHelpNormal = { link = 'FzfLuaNormal' },
FzfLuaHelpBorder = { link = 'FzfLuaBorder' },
}
end

return M

0 comments on commit fd22add

Please sign in to comment.