44 lines
1.3 KiB
Lua
44 lines
1.3 KiB
Lua
local onedark = require('onedark')
|
|
|
|
onedark.setup({
|
|
style = 'darker',
|
|
transparent = true,
|
|
term_colors = false,
|
|
ending_tildes = false,
|
|
cmp_itemkind_reverse = false,
|
|
|
|
toggle_style_key = '<leader>ot',
|
|
toggle_style_list = { 'dark', 'darker', 'cool', 'warm', 'warmer', 'deep', 'light' },
|
|
|
|
-- Options are italic, bold, underline, none and combos 'italic,bold'
|
|
code_style = {
|
|
comments = 'italic',
|
|
keywords = 'none',
|
|
functions = 'none',
|
|
strings = 'none',
|
|
variables = 'none',
|
|
},
|
|
|
|
lualine = { transparent = true },
|
|
diagnostics = { darker = true, undercurl = true, background = false },
|
|
})
|
|
onedark.load()
|
|
|
|
-- transparent background
|
|
vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
|
|
vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
|
|
vim.api.nvim_set_hl(0, 'FloatBorder', { bg = 'none' })
|
|
vim.api.nvim_set_hl(0, 'Pmenu', { bg = 'none' })
|
|
|
|
-- set hlsearch color
|
|
vim.api.nvim_set_hl(0, 'Search', { bg = '#8BCD5B', fg = '#202020' })
|
|
vim.api.nvim_set_hl(0, 'CurSearch', { bg = '#EFBD5D', fg = '#000000' })
|
|
vim.api.nvim_set_hl(0, 'IncSearch', { bg = '#F15664', fg = '#000000' })
|
|
|
|
-- set cursorline color
|
|
vim.api.nvim_set_hl(0, 'CursorLine', { bg = '#1A1A1F' })
|
|
vim.api.nvim_set_hl(0, 'CursorColumn', { bg = '#1A1A1F' })
|
|
|
|
-- set visual highlight
|
|
vim.api.nvim_set_hl(0, 'Visual', { bg = '#103070' })
|