Skip to content

Commit

Permalink
feat: add fzf-lua integration (#746)
Browse files Browse the repository at this point in the history
* feat: add fzf-lua integration

* docs: auto generate vimdoc

* chore: typo

---------

Co-authored-by: vollowx <[email protected]>
  • Loading branch information
vollowx and vollowx authored Aug 7, 2024
1 parent 03a2f35 commit 05206bb
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,20 @@ flash = true
```
<!-- flash.nvim -->

<!-- fzf-lua -->
</tr>
<tr>
<td> <a href="https://github.com/ibhagwan/fzf-lua">fzf-lua</a> </td>
<td>

```lua
fzf = true
```

</td>
</tr>
<!-- fzf-lua -->

<!-- gitsigns.nvim -->
</tr>
<tr>
Expand Down
4 changes: 4 additions & 0 deletions doc/catppuccin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,10 @@ flash.nvim>lua
flash = true
<

fzf-lua>lua
fzf = true
<

gitsigns.nvim>lua
gitsigns = true
<
Expand Down
22 changes: 22 additions & 0 deletions lua/catppuccin/groups/integrations/fzf.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
local M = {}

function M.get()
return {
FzfLuaNormal = { link = "NormalFloat" },
FzfLuaBorder = { link = "FloatBorder" },
FzfLuaTitle = { link = "FloatTitle" },
FzfLuaHeaderBind = { fg = C.yellow },
FzfLuaHeaderText = { fg = C.peach },
FzfLuaPathColNr = { fg = C.blue },
FzfLuaPathLineNr = { fg = C.green },
FzfLuaBufName = { fg = C.mauve },
FzfLuaBufNr = { fg = C.yellow },
FzfLuaBufFlagCur = { fg = C.peach },
FzfLuaBufFlagAlt = { fg = C.blue },
FzfLuaTabTitle = { fg = C.sky },
FzfLuaTabMarker = { fg = C.yellow },
FzfLuaLiveSym = { fg = C.peach },
}
end

return M
1 change: 1 addition & 0 deletions lua/catppuccin/types.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
-- ```
---@field fidget boolean?
---@field flash boolean?
---@field fzf boolean?
---@field gitgutter boolean?
---@field gitsigns boolean?
---@field grug_far boolean?
Expand Down

0 comments on commit 05206bb

Please sign in to comment.