Skip to content

Commit

Permalink
feat(colorscheme): add monokai-pro (#161)
Browse files Browse the repository at this point in the history
* feat: add monokai-pro colorscheme

* Amend default filter to `pro` instead of `machine`

* Formatting

* update opts

---------

Co-authored-by: Micah Halter <[email protected]>
  • Loading branch information
bernwo and mehalter authored Apr 28, 2023
1 parent 9eb9779 commit 1f4d5b1
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
25 changes: 25 additions & 0 deletions lua/astrocommunity/colorscheme/monokai-pro/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# monokai-pro.nvim

**Repository:** https://github.com/loctvl842/monokai-pro.nvim

A professional theme for neovim. The following filters are available:

* `pro`
* `classic`
* `machine`
* `octagon`
* `ristretto`
* `spectrum`

By default, it is set to `pro`. To change the filter to, e.g., `machine`, you can add the following to your `user.lua`

```lua
{
"loctvl842/monokai-pro.nvim",
config = function()
require("monokai-pro").setup {
filter = "machine", -- classic | octagon | pro | machine | ristretto | spectrum
}
end
},
```
14 changes: 14 additions & 0 deletions lua/astrocommunity/colorscheme/monokai-pro/monokai-pro.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
return {
"loctvl842/monokai-pro.nvim",
opts = {
terminal_colors = true,
devicons = true, -- highlight the icons of `nvim-web-devicons`
filter = "pro", -- classic | octagon | pro | machine | ristretto | spectrum
plugins = {
indent_blankline = {
context_highlight = "pro", -- default | pro
context_start_underline = false,
},
},
},
}

0 comments on commit 1f4d5b1

Please sign in to comment.