Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jordanbrauer/citylights.nvim

A Neovim port of the beautiful City Lights syntax theme by Yummygum
https://github.com/jordanbrauer/citylights.nvim

lsp neovim syntax theme treesitter vim

Last synced: 7 days ago
JSON representation

A Neovim port of the beautiful City Lights syntax theme by Yummygum

Awesome Lists containing this project

README

        

# citylights.nvim

A Neovim port of the beautiful [City Lights](https://citylights.xyz/) syntax
theme by [Yummygum](https://yummygum.com/), built with [Colorbuddy](https://github.com/tjdevries/colorbuddy.nvim).


screenshot of theme colours on TypeScript code

## Installation

### With Packer

```vim
use {
"jordanbrauer/citylights.nvim",
requires = {
"tjdevries/colorbuddy.vim"
},
config = function()
require("colorbuddy").colorscheme("citylights")
end
}
```

### With vim-plug

```vim
Plug 'tjdevries/colorbuddy.vim'
Plug 'jordanbrauer/citylights.nvim'
```

and then run the install command

```vim
:PlugInstall
```

## Usage

Ensure your syntax highlightig is enabled, dark mode engaged, and 256 terminal
colours are available, and of course set the `colorscheme` to `citylights`!

```vim
syntax enable
syntax on

set background=dark
let &t_Co=256
```

And using Lua, set the colour scheme like so

```lua
require('colorbuddy').colorscheme('citylights')
```

### Lualine

If you are using [`lualine.nvim`](https://github.com/nvim-lualine/lualine.nvim),
this colourscheme comes with a baked in theme & configuration that you can setup
using the following Lua code in your configuartion.

```lua
local lualine = require('lualine')
local citylights = require('lualine.themes.citylights')

lualine.setup(citylights)
```