A fork of loctvl842/monokai-pro.nvim with personal improvements and additional plugin support.
This is a personal fork of the excellent monokai-pro.nvim theme for Neovim. While the original theme is already feature-rich and well-maintained, I've made some improvements to better suit my workflow and preferences.
This fork introduces several improvements and additional support compared to the original:
- Better Treesitter Support – More precise syntax highlighting across multiple languages, including fallback colors for C# and other languages without active LSP.
- Respect LSP Semantic Tokens – Ensures colors match LSP token types when available, providing consistent highlighting between Treesitter and LSP.
- UI Bug Fixes – Fixed issues with floating windows, markdown previews, and other elements that didn’t render correctly with the original theme.
- Toggle Italics in Treesitter – Users can easily enable or disable italic styles globally via configuration.
- Expanded Plugin Support – Added styling for popular plugins(In Progress)
These improvements aim to make the theme more consistent, modern, and configurable for Neovim setup.
{
"khoido2003/monokai-v2.nvim",
priority = 1000,
config = function()
require("monokai-v2").setup()
vim.cmd("colorscheme monokai-v2")
end,
}use { "khoido2003/monokai-v2.nvim", config = function() require("monokai-v2").setup() vim.cmd("colorscheme monokai-v2") end }
require("monokai-v2").setup({ -- Basic settings transparent_background = false, terminal_colors = true, devicons = false, -- Syntax highlighting styles styles = { comment = { italic = false }, keyword = { italic = false }, type = { italic = false }, storageclass = { italic = false }, structure = { italic = false }, parameter = { italic = false }, annotation = { italic = false }, tag_attribute = { italic = false }, }, -- Treesitter settings treesitter = { italic = false, }, -- Filter selection (default: classic for dark, light for light background) filter = "pro", -- classic | light | machine | octagon | pro | ristretto | spectrum -- Day/night mode day_night = { enable = false, day_filter = "pro", night_filter = "spectrum", }, -- Incremental search style inc_search = "background", -- underline | background -- Background clearing for floating windows background_clear = { "toggleterm", "telescope", "renamer", "notify", }, -- Plugin-specific settings plugins = { bufferline = { underline_selected = false, underline_visible = false, underline_fill = false, bold = true, }, indent_blankline = { context_highlight = "default", -- default | pro context_start_underline = false, }, }, })
MonokaiThemeSelect- Interactive menu to select filter variantMonokaiChoose <filter>- Direct filter selection (e.g.,MonokaiChoose pro)
-- Lualine require('lualine').setup({ options = { theme = 'monokai-v2' } }) -- Barbecue require('barbecue').setup({ theme = 'monokai-v2' }) -- Lightline let g:lightline = {'colorscheme': 'monokaiv2'}
Each filter provides a unique take on the Monokai Pro theme:
- Classic - The original Monokai theme
- Light - Light variant for bright environments
- Pro - The signature Monokai Pro look
- Machine - Industrial, high-contrast variant
- Octagon - Geometric, structured appearance
- Ristretto - Muted, coffee-inspired tones
- Spectrum - Vibrant, colorful variant
| Filter | Preview |
|---|---|
| Classic | Classic Filter |
| Pro | Pro Filter |
| Machine | Machine Filter |
| Octagon | Octagon Filter |
| Ristretto | Octagon Filter |
| Spectrum | Spectrum Filter |
| Light | Spectrum Filter |
If you'd like to help improve this theme:
- Open an issue if you find any bugs
- Submit a PR if you have any improvements
- Share your ideas through discussions
Feel free to:
- Report issues
- Suggest improvements
- Submit pull requests
- Original theme: loctvl842/monokai-pro.nvim by Loc
- Monokai Pro: monokai.pro
This is a personal fork with personal improvements and preferences. For the original, well-maintained theme, please check out the source repository.