.
This commit is contained in:
1 parent
2080230313
commit
8c61adf486
4 files changed
+46
-72
No files matched your search
@@ -26,7 +26,7 @@ lazy.setup({
|
||||
lockfile = vim.fn.stdpath('config') .. '/lua/plugins/lock.json',
|
||||
concurrency = 8,
|
||||
dev = { path = '~/Projects/GitHub/', patterns = {}, fallback = false },
|
||||
install = { missing = true, colorscheme = { 'dracula' } },
|
||||
install = { missing = true, colorscheme = { 'onedark' } },
|
||||
|
||||
git = {
|
||||
log = { '--since=3 days ago' },
|
||||
|
||||
@@ -7,8 +7,8 @@ end
|
||||
local plugins = {
|
||||
-- UI
|
||||
{
|
||||
'Mofiqul/dracula.nvim',
|
||||
config = load_config('ui.dracula'),
|
||||
'navarasu/onedark.nvim',
|
||||
config = load_config('ui.onedark'),
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
},
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
local dracula = require("dracula")
|
||||
|
||||
dracula.setup({
|
||||
colors = {
|
||||
bg = "#282A36",
|
||||
fg = "#F8F8F2",
|
||||
selection = "#44475A",
|
||||
comment = "#6272A4",
|
||||
red = "#FF5555",
|
||||
orange = "#FFB86C",
|
||||
yellow = "#F1FA8C",
|
||||
green = "#50fa7b",
|
||||
purple = "#BD93F9",
|
||||
cyan = "#8BE9FD",
|
||||
pink = "#FF79C6",
|
||||
bright_red = "#FF6E6E",
|
||||
bright_green = "#69FF94",
|
||||
bright_yellow = "#FFFFA5",
|
||||
bright_blue = "#D6ACFF",
|
||||
bright_magenta = "#FF92DF",
|
||||
bright_cyan = "#A4FFFF",
|
||||
bright_white = "#FFFFFF",
|
||||
menu = "#21222C",
|
||||
visual = "#3E4452",
|
||||
gutter_fg = "#4B5263",
|
||||
nontext = "#3B4048",
|
||||
},
|
||||
-- show the '~' characters after the end of buffers
|
||||
show_end_of_buffer = true, -- default false
|
||||
-- use transparent background
|
||||
transparent_bg = true, -- default false
|
||||
-- set custom lualine background color
|
||||
lualine_bg_color = "#44475a", -- default nil
|
||||
-- set italic comment
|
||||
italic_comment = true, -- default false
|
||||
-- overrides the default highlights see `:h synIDattr`
|
||||
overrides = {
|
||||
PmenuSel = {link = "lualine_a_insert"},
|
||||
TelescopeSelection = {link = "lualine_a_insert"},
|
||||
BufferTabpages = {link = "lualine_a_visual"}
|
||||
-- Nothing = {} -- clear highlight of Nothing
|
||||
},
|
||||
|
||||
integrations = {
|
||||
cmp = true,
|
||||
fidget = true,
|
||||
gitsigns = true,
|
||||
harpoon = true,
|
||||
indent_blankline = {
|
||||
enabled = false,
|
||||
colored_indent_levels = false,
|
||||
},
|
||||
mason = true,
|
||||
native_lsp = { enabled = true },
|
||||
noice = true,
|
||||
notify = true,
|
||||
symbols_outline = true,
|
||||
telescope = true,
|
||||
treesitter = true,
|
||||
treesitter_context = true,
|
||||
},
|
||||
})
|
||||
|
||||
vim.cmd.colorscheme("dracula")
|
||||
|
||||
-- Hide all semantic highlights until upstream issues are resolved (https://github.com/catppuccin/nvim/issues/480)
|
||||
for _, group in ipairs(vim.fn.getcompletion("@lsp", "highlight")) do
|
||||
vim.api.nvim_set_hl(0, group, {})
|
||||
end
|
||||
@@ -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' })
|
||||
Reference in new issue
Block a user