Awesome
shaunsingh/seoul256.nvim
Based off of the seoul256 Theme for Vim
<img width="1260" alt="Screen Shot 2021-06-01 at 5 22 20 PM" src="https://user-images.githubusercontent.com/71196912/120392089-0073c180-c2fe-11eb-9614-d9d957dc1674.png">Features
seoul256.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
-
Supported plugins:
-
Ability to change background on sidebar-like windows like Nvim-Tree, Packer, terminal etc.
-
Added functions for live theme switching without the need to restart NeoVim
⚡️ Requirements
- Neovim >= 0.5.0
Installation
Install via your favourite package manager:
" If you are using Vim-Plug
Plug 'shaunsingh/seoul256.nvim'
-- If you are using Packer
use 'shaunsingh/seoul256.nvim'
Usage
Enable the colorscheme:
"Vim-Script:
colorscheme seoul256
--Lua:
require('seoul256')
-- or:
vim.g.colors_name = 'seoul256'
To enable the seoul256
theme for Lualine
, simply specify it in your lualine settings:
require('lualine').setup {
options = {
-- ... your lualine config
theme = 'seoul256'
-- ... your lualine config
}
}
⚙️ Configuration
Option | Default | Description |
---|---|---|
seoul256_italic_comments | false | Make comments italic |
seoul256_italic_keywords | false | Make keywords italic |
seoul256_italic_functions | false | Make functions italic |
seoul256_italic_variables | false | Make variables and identifiers italic |
seoul256_contrast | true | Make sidebars and popup menus like nvim-tree and telescope have a different background |
seoul256_borders | false | Enable the border between verticaly split windows visable |
seoul256_disable_background | false | Disable the setting of background color so that NeoVim can use your terminal background |
seoul256_hl_current_line | false | Enable highlighting for the current line |
-- Example config in lua
vim.g.seoul256_italic_comments = true
vim.g.seoul256_italic_keywords = true
vim.g.seoul256_italic_functions = true
vim.g.seoul256_italic_variables = false
vim.g.seoul256_contrast = true
vim.g.seoul256_borders = false
vim.g.seoul256_disable_background = false
vim.g.seoul256_hl_current_line = true
-- Load the colorscheme
require('seoul256')
" Example config in Vim-Script
let g:seoul256_italic_comments = v:true
let g:seoul256_italic_keywords = v:true
let g:seoul256_italic_functions = v:true
let g:seoul256_italic_variables = v:false
let g:seoul256_contrast = v:true
let g:seoul256_borders = v:false
let g:seoul256_disable_background = v:false
let g:seoul256_hl_current_line = v:true
-- Load the colorsheme
colorscheme seoul256