|
1 | | -return { 'navarasu/onedark.nvim' } |
| 1 | +return { |
| 2 | + 'navarasu/onedark.nvim', |
| 3 | + config = function() |
| 4 | + require('onedark').setup { |
| 5 | + -- Main options -- |
| 6 | + style = 'light', -- Default theme style. Choose between 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer' and 'light' |
| 7 | + transparent = false, -- Show/hide background |
| 8 | + term_colors = true, -- Change terminal color as per the selected theme style |
| 9 | + ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden |
| 10 | + cmp_itemkind_reverse = false, -- reverse item kind highlights in cmp menu |
| 11 | + |
| 12 | + -- toggle theme style --- |
| 13 | + toggle_style_key = "<leader>ts", -- keybind to toggle theme style. Leave it nil to disable it, or set it to a string, for example "<leader>ts" |
| 14 | + toggle_style_list = { 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light' }, -- List of styles to toggle between |
| 15 | + |
| 16 | + -- Change code style --- |
| 17 | + -- Options are italic, bold, underline, none |
| 18 | + -- You can configure multiple style with comma separated, For e.g., keywords = 'italic,bold' |
| 19 | + code_style = { |
| 20 | + comments = 'none', |
| 21 | + keywords = 'none', |
| 22 | + functions = 'none', |
| 23 | + strings = 'none', |
| 24 | + variables = 'none', |
| 25 | + }, |
| 26 | + |
| 27 | + -- Lualine options -- |
| 28 | + lualine = { |
| 29 | + transparent = false, -- lualine center bar transparency |
| 30 | + }, |
| 31 | + |
| 32 | + -- Custom Highlights -- |
| 33 | + colors = {}, -- Override default colors |
| 34 | + highlights = {}, -- Override highlight groups |
| 35 | + |
| 36 | + -- Plugins Config -- |
| 37 | + diagnostics = { |
| 38 | + darker = true, -- darker colors for diagnostic |
| 39 | + undercurl = true, -- use undercurl instead of underline for diagnostics |
| 40 | + background = true, -- use background color for virtual text |
| 41 | + }, |
| 42 | + } |
| 43 | + end, |
| 44 | +} |
0 commit comments