A dark retro Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Inspired by fcpg/vim-farout.
Go to file
2021-04-19 12:55:58 -07:00
colors better git colors 2021-04-19 20:43:20 +02:00
lua better git colors 2021-04-19 20:43:20 +02:00
.gitignore completed v1 2021-04-19 14:39:35 +02:00
.lua-format inital commit 2021-04-17 21:22:55 +02:00
README.md Update README.md 2021-04-19 12:55:58 -07:00

🏙 Tokyo Night

A dark Neovim theme written in Lua ported from the Visual Studio Code TokyoNight theme.

Storm

image

Night

image

Features

📦 Installation

Install the theme with your preferred package manager:

vim-plug

Plug 'folke/tokyonight.nvim'

packer

use 'folke/tokyonight.nvim'

🚀 Usage

Enable the colorscheme:

" Vim Script
colorscheme tokyonight
-- Lua
vim.cmd[[colorscheme tokyonight]]

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

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

⚙️ Configuration

The theme comes in two styles, storm and a darker variant night.

-- The theme comes in two styles, "storm" and a darker variant "night".
vim.g.tokyonight_style = "storm"

-- Comments are italicized by default
vim.g.tokyonight_italic_comments = true

-- Keywords are italicized by default
vim.g.tokyonight_italic_keywords = true

-- Functions are not italicized by default
vim.g.tokyonight_italic_functions = false

-- Enable this to disable setting the background color
vim.g.tokyonight_transparent = false

-- Enabling this option, will hide inactive statuslines and
-- replace them with a thin border instead. Should work with
-- the standard `StatusLine` and `LuaLine`.
vim.g.tokyonight_hide_inactive_statusline = true