This commit is contained in:
sankalp committed 2024-05-09 02:48:12 +05:45
1 parent 2080230313
commit 8c61adf486
4 files changed
+46 -72

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
local onedark = require('onedark')
onedark.setup({
style = 'deep',
transparent = true,
term_colors = false,
ending_tildes = false,
cmp_itemkind_reverse = false,
toggle_style_key = '<leader>ct',
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' })