Skip to content

Commit

Permalink
feat(highlights): add basic highlights for Aerial support (#27)
Browse files Browse the repository at this point in the history
* basic highlights for Aerial support

* better colors

---------

Co-authored-by: windowsrefund <mtf8>
  • Loading branch information
windowsrefund authored May 3, 2024
1 parent 6e347c9 commit 454cb9f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ A colorscheme for [Neovim](https://github.com/neovim/neovim). Pleasant and produ
- [Gitsigns](https://github.com/lewis6991/gitsigns.nvim)
- [Neorg](https://github.com/nvim-neorg/neorg)
- [Nvim-notify](https://github.com/rcarriga/nvim-notify)
- [Aerial](https://github.com/stevearc/aerial.nvim)

## Installation and usage
Example with [packer.nvim](https://github.com/wbthomason/packer.nvim):
Expand Down
1 change: 1 addition & 0 deletions doc/mellifluous.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Table of Contents *mellifluous-table-of-contents*
- Gitsigns <https://github.com/lewis6991/gitsigns.nvim>
- Neorg <https://github.com/nvim-neorg/neorg>
- Nvim-notify <https://github.com/rcarriga/nvim-notify>
- Aerial <https://github.com/stevearc/aerial.nvim>


==============================================================================
Expand Down
1 change: 1 addition & 0 deletions lua/mellifluous/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ local config = {
gitsigns = true,
neorg = true,
nvim_notify = true,
aerial = true,
},
dim_inactive = false,
styles = {
Expand Down
9 changes: 9 additions & 0 deletions lua/mellifluous/highlights/plugins/aerial.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
local M = {}

function M.set(hl, colors)
hl.set("AerialNormal", { fg = colors.fg2 })
hl.set("AerialLine", { fg = colors.fg, bg = colors.b4 })
hl.set("AerialLineNC", { fg = colors.fg2, bg = colors.bg3 })
end

return M

0 comments on commit 454cb9f

Please sign in to comment.