update: add new 'onedark' theme for neovim
This commit is contained in:
parent
4609fd89ac
commit
7201fff355
3 changed files with 16 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ if (not status) then return end
|
||||||
lualine.setup {
|
lualine.setup {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = 'solarized_dark',
|
theme = 'onedark',
|
||||||
section_separators = {
|
section_separators = {
|
||||||
left = '',
|
left = '',
|
||||||
right = ''
|
right = ''
|
||||||
|
|
|
||||||
13
.config/nvim/after/plugin/onedark.rc.lua
Normal file
13
.config/nvim/after/plugin/onedark.rc.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
local status, onedark = pcall(require, 'onedark')
|
||||||
|
|
||||||
|
if not status then return end
|
||||||
|
|
||||||
|
onedark.setup {
|
||||||
|
style = 'dark',
|
||||||
|
transparent = true,
|
||||||
|
lualine = {
|
||||||
|
transparent = true, -- Set to true when using 'onedark' theme
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
onedark.load()
|
||||||
|
|
@ -18,7 +18,8 @@ return require('packer').startup(function(use)
|
||||||
|
|
||||||
-- colorscheme
|
-- colorscheme
|
||||||
use "tjdevries/colorbuddy.nvim"
|
use "tjdevries/colorbuddy.nvim"
|
||||||
use "svrana/neosolarized.nvim"
|
-- use "svrana/neosolarized.nvim"
|
||||||
|
use "navarasu/onedark.nvim"
|
||||||
|
|
||||||
-- treesitter baby
|
-- treesitter baby
|
||||||
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
|
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue