Code Monkey home page Code Monkey logo

modified-moonlight.nvim's Introduction

๐ŸŒ˜ shaunsingh/moonlight.nvim

Modified version of Marko Cerovac's Material.nvim, based off of the Moonlight Theme for VSCode

preview github

๐ŸŒ  Features

moonlight.nvim is meant to be a modern colorscheme written in lua for NeoVim that supports a lot of the new features added to NeoVim like built-in LSP and TreeSitter

โšก๏ธ Requirements

  • Neovim >= 0.5.0

๐ŸŒ™ Installation

Install via your favourite package manager:

" If you are using Vim-Plug
Plug 'shaunsingh/moonlight.nvim'
-- If you are using Packer
use 'shaunsingh/moonlight.nvim'

๐ŸŒ“ Usage

Enable the colorscheme:

"Vim-Script:
colorscheme moonlight
--Lua:
require('moonlight').set()

To enable the moonlight theme for Lualine, simply specify it in your lualine settings:

require('lualine').setup {
  options = {
    -- ... your lualine config
    theme = 'moonlight'
    -- ... your lualine config
  }
}

โš™๏ธ Configuration

Option Default Description
moonlight_italic_comments false Make comments italic
moonlight_italic_keywords false Make keywords italic
moonlight_italic_functions false Make functions italic
moonlight_italic_variables false Make variables and identifiers italic
moonlight_contrast true Make sidebars and popup menus like nvim-tree and telescope have a different background
moonlight_borders false Enable the border between verticaly split windows visable
moonlight_disable_background false Disable the setting of background color so that NeoVim can use your terminal background
-- Example config in lua
vim.g.moonlight_italic_comments = true
vim.g.moonlight_italic_keywords = true
vim.g.moonlight_italic_functions = true
vim.g.moonlight_italic_variables = false
vim.g.moonlight_contrast = true
vim.g.moonlight_borders = false 
vim.g.moonlight_disable_background = false

-- Load the colorscheme
require('moonlight').set()
" Example config in Vim-Script
let g:moonlight_italic_comments = true
let g:moonlight_italic_keywords = true
let g:moonlight_italic_functions = true
let g:moonlight_italic_variables = false
let g:moonlight_contrast = true
let g:moonlight_borders = false 
let g:moonlight_disable_background = false

-- Load the colorsheme
colorscheme moonlight

Original Readme: https://github.com/marko-cerovac/material.nvim/blob/pure-lua/README.md

modified-moonlight.nvim's People

Contributors

super-stonks avatar

Stargazers

Tassadiq Shakeel avatar

Watchers

leet0rz avatar

modified-moonlight.nvim's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.