added onedark

This commit is contained in:
Tawfeeq 2025-07-16 12:48:38 +02:00
parent f9c03f815f
commit f3e91757aa
2 changed files with 50 additions and 4 deletions

View File

@ -413,8 +413,8 @@ require('lazy').setup({
delay = 0, delay = 0,
plugins = { plugins = {
spelling = { spelling = {
enabled = true enabled = true,
} },
}, },
icons = { icons = {
-- set icon mappings to true if you have a Nerd Font -- set icon mappings to true if you have a Nerd Font
@ -553,6 +553,9 @@ require('lazy').setup({
}, },
}, },
extensions = { extensions = {
file_browser = {
theme = 'ivy',
},
['ui-select'] = { ['ui-select'] = {
require('telescope.themes').get_dropdown(), require('telescope.themes').get_dropdown(),
}, },
@ -619,7 +622,7 @@ require('lazy').setup({
'neovim/nvim-lspconfig', 'neovim/nvim-lspconfig',
opts = { opts = {
servers = { servers = {
eslint = {}, -- eslint = {},
}, },
}, },
dependencies = { dependencies = {

View File

@ -1 +1,44 @@
return { 'navarasu/onedark.nvim' } return {
'navarasu/onedark.nvim',
config = function()
require('onedark').setup {
-- Main options --
style = 'light', -- Default theme style. Choose between 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer' and 'light'
transparent = false, -- Show/hide background
term_colors = true, -- Change terminal color as per the selected theme style
ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden
cmp_itemkind_reverse = false, -- reverse item kind highlights in cmp menu
-- toggle theme style ---
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"
toggle_style_list = { 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light' }, -- List of styles to toggle between
-- Change code style ---
-- Options are italic, bold, underline, none
-- You can configure multiple style with comma separated, For e.g., keywords = 'italic,bold'
code_style = {
comments = 'none',
keywords = 'none',
functions = 'none',
strings = 'none',
variables = 'none',
},
-- Lualine options --
lualine = {
transparent = false, -- lualine center bar transparency
},
-- Custom Highlights --
colors = {}, -- Override default colors
highlights = {}, -- Override highlight groups
-- Plugins Config --
diagnostics = {
darker = true, -- darker colors for diagnostic
undercurl = true, -- use undercurl instead of underline for diagnostics
background = true, -- use background color for virtual text
},
}
end,
}