Skip to content

UtkarshVerma/molokai.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

molokai.nvim

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.

✨ Features

  • 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

Plugin Support

⚡️ Requirements

  • Neovim >= 0.5.0

📦 Installation

Install the theme with your preferred package manager:

vim-plug

Plug 'UtkarshVerma/molokai.nvim', { 'branch': 'main' }

packer

use 'UtkarshVerma/molokai.nvim'

🚀 Usage

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
  }
}

🍭 Extras

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)

About

Molokai colorscheme for Neovim.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages