Skip to content

Commit a70c28d

Browse files
added gh-dark-high-contrast theme; removed transparent windows; alter dapui layout attempt
1 parent 154e13c commit a70c28d

File tree

1 file changed

+52
-6
lines changed

1 file changed

+52
-6
lines changed

init.lua

Lines changed: 52 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,14 +302,13 @@ require('lazy').setup({
302302
},
303303
},
304304
},
305-
306305
-- themery
307306
{
308307
'zaldih/themery.nvim',
309308
lazy = false,
310309
config = function()
311310
require('themery').setup {
312-
themes = { 'visual_studio_code', 'retrobox' },
311+
themes = { 'visual_studio_code', 'retrobox', 'github_dark_high_contrast' },
313312
livePreview = true,
314313
}
315314
end,
@@ -323,8 +322,14 @@ require('lazy').setup({
323322
end,
324323
},
325324

326-
-- transparent windows
327-
{ 'xiyaowong/transparent.nvim' },
325+
-- github theme
326+
{
327+
'projekt0n/github-nvim-theme',
328+
name = 'github_dark_high_contrast',
329+
config = function()
330+
vim.cmd 'colorscheme github_dark_high_contrast'
331+
end,
332+
},
328333

329334
-- git-conflict
330335
{ 'akinsho/git-conflict.nvim', version = '*', config = true },
@@ -445,6 +450,8 @@ require('lazy').setup({
445450
}
446451
end,
447452
},
453+
454+
{ 'rcarriga/nvim-dap-ui', dependencies = { 'mfussenegger/nvim-dap', 'nvim-neotest/nvim-nio' } },
448455
-- dap
449456
{
450457
'mfussenegger/nvim-dap',
@@ -455,11 +462,51 @@ require('lazy').setup({
455462
'nvim-neotest/nvim-nio',
456463
'williamboman/mason.nvim',
457464
},
465+
458466
config = function()
459467
local dap = require 'dap'
460468
local ui = require 'dapui'
461469

462-
require('dapui').setup()
470+
require('dapui').setup {
471+
layouts = {
472+
{
473+
elements = {
474+
{
475+
elements = {
476+
{
477+
id = 'repl',
478+
size = 0.5,
479+
},
480+
{
481+
id = 'console',
482+
size = 0.5,
483+
},
484+
},
485+
position = 'bottom',
486+
size = 10,
487+
},
488+
{
489+
id = 'scopes',
490+
size = 0.25,
491+
},
492+
{
493+
id = 'breakpoints',
494+
size = 0.25,
495+
},
496+
{
497+
id = 'stacks',
498+
size = 0.25,
499+
},
500+
{
501+
id = 'watches',
502+
size = 0.25,
503+
},
504+
},
505+
position = 'bottom',
506+
size = 40,
507+
},
508+
},
509+
}
463510
require('dap-go').setup()
464511

465512
dap.adapters.codelldb = {
@@ -511,7 +558,6 @@ require('lazy').setup({
511558
end
512559
end,
513560
},
514-
515561
{ -- Useful plugin to show you pending keybinds.
516562
'folke/which-key.nvim',
517563
event = 'VimEnter', -- Sets the loading event to 'VimEnter'

0 commit comments

Comments
 (0)