Skip to content

Commit f3e9175

Browse files
committed
added onedark
1 parent f9c03f8 commit f3e9175

File tree

2 files changed

+50
-4
lines changed

2 files changed

+50
-4
lines changed

init.lua

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ require('lazy').setup({
413413
delay = 0,
414414
plugins = {
415415
spelling = {
416-
enabled = true
417-
}
416+
enabled = true,
417+
},
418418
},
419419
icons = {
420420
-- set icon mappings to true if you have a Nerd Font
@@ -553,6 +553,9 @@ require('lazy').setup({
553553
},
554554
},
555555
extensions = {
556+
file_browser = {
557+
theme = 'ivy',
558+
},
556559
['ui-select'] = {
557560
require('telescope.themes').get_dropdown(),
558561
},
@@ -619,7 +622,7 @@ require('lazy').setup({
619622
'neovim/nvim-lspconfig',
620623
opts = {
621624
servers = {
622-
eslint = {},
625+
-- eslint = {},
623626
},
624627
},
625628
dependencies = {

lua/custom/plugins/onedark.lua

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
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

Comments
 (0)