A dark Neovim theme written in Lua ported from the Visual Studio Code Dark Molokai theme.
This repo heavily borrows source code from the awesome tokyonight theme for Neovim.
- supports the latest Neovim 5.0 features like TreeSitter and LSP
- minimal inactive statusline
- vim terminal colors
- darker background for sidebar-like windows
- lualine theme
- Neovim >= 0.5.0
Install the theme with your preferred package manager:
Plug 'UtkarshVerma/molokai.nvim', { 'branch': 'main' }
use 'UtkarshVerma/molokai.nvim'
Enable the colorscheme:
" Vim Script
colorscheme molokai
-- Lua
vim.cmd[[colorscheme molokai]]
To enable the Molokai
theme for Lualine
, simply specify it in your lualine settings:
require('lualine').setup {
options = {
-- ... your lualine config
theme = 'molokai'
-- ... your lualine config
}
}
You can easily use the color palette for other plugins inside your Neovim config:
local colors = require("molokai.colors").setup({}) -- pass in any of the config options as explained above
local utils = requires("molokai.util")
aplugin.background = colors.bg_dark
aplugin.my_error = util.brighten(colors.red1, 0.3)