A dark retro Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Inspired by fcpg/vim-farout.
colors | ||
lua | ||
.gitignore | ||
.lua-format | ||
README.md |
🏙 Tokyo Night
A dark Neovim theme written in Lua ported from the Visual Studio Code TokyoNight theme.
✨ Features
- TreeSitter
- LSP Diagnostics
- LSP Saga
- Git Signs
- Git Gutter
- Telescope
- NvimTree
- WhichKey
- Indent Blankline
- Dashboard
- BufferLine
- a TokyNight Lualine theme is included
📦 Installation
Install the theme with your preferred package manager:
Plug 'folke/tokyonight.nvim'
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