repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

288aa634bb27e7af0226408a5a95e7b09a020544

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (20)

+411 / −859 text lines · 1 binary (striped old/new sizes in 64-byte units, not churn) · lines and sizes scale separately

Diff layout

helix/themes/nugu-dark.toml

Modified

+46 / −50 text lines

3333 "bold",
3434], underline.style = "double_line" }
3535"markup.heading.marker" = { fg = "minor" }
36"markup.list" = { fg = "minor" }
36"markup.list" = "minor"
3737"markup.bold" = { modifiers = ["bold"] }
3838"markup.italic" = { modifiers = ["italic"] }
3939"markup.strikethrough" = { modifiers = ["crossed_out"] }
40"markup.link.url" = { fg = "accent" }
41"markup.link.text" = { fg = "important_local" }
42"markup.link.label" = { fg = "important_global" }
40"markup.link.url" = "accent"
41"markup.link.text" = "important_local"
42"markup.link.label" = "important_global"
4343"markup.quote" = { fg = "important_local", modifiers = ["italic"] }
4444"markup.raw.inline" = { fg = "important_local" }
4545"markup.raw.block" = { fg = "important_global" }
4848"diff.delta" = { fg = "unfocus" }
4949"diff.minus" = { fg = "focus", modifiers = ["crossed_out"] }
51"ui" = { fg = "ui_normal", bg = "ui_backdrop" }
5251"ui.background" = { fg = "normal", bg = "backdrop" }
5352"ui.background.separator" = { fg = "ui_minor" }
55"ui.cursor" = { fg = "normal", bg = "ui_accent" }
56"ui.cursor.primary" = { fg = "normal", bg = "ui_accent" }
57"ui.cursor.match" = { fg = "normal", bg = "ui_unfocus", modifiers = [
54"ui.cursor" = { fg = "normal", bg = "accent" }
55"ui.cursor.primary" = { fg = "normal", bg = "accent" }
56"ui.cursor.match" = { fg = "normal", bg = "unfocus", modifiers = [
5857 "slow_blink",
5958] }
61"ui.cursorline.primary" = { underline = { style = "line", color = "ui_unfocus" } }
60"ui.cursorline.primary" = { bg = "debug" }
63"ui.selection" = { fg = "normal", bg = "ui_unfocus" }
64"ui.selection.primary" = { fg = "normal", bg = "ui_important_local" }
62"ui.selection" = { fg = "normal", bg = "ui_important_local" }
63"ui.selection.primary" = { fg = "normal", bg = "ui_important_global" }
66"ui.linenr" = { fg = "ui_minor", bg = "backdrop" }
67"ui.linenr.selected" = { fg = "ui_focus" }
65"ui.linenr" = { fg = "ui_unfocus" }
66"ui.linenr.selected" = { fg = "ui_accent" }
69"ui.statusline" = { fg = "ui_normal", bg = "ui_backdrop" }
68"ui.statusline" = { fg = "ui_minor", bg = "ui_backdrop" }
7069"ui.statusline.separator" = { fg = "ui_unfocus", bg = "ui_backdrop" }
7170"ui.statusline.insert" = { fg = "ui_important_global", modifiers = ["bold"] }
7271"ui.statusline.select" = { fg = "ui_focus", modifiers = ["bold"] }
73"ui.statusline.inactive" = { fg = "ui_minor", bg = "ui_backdrop" }
72"ui.statusline.inactive" = { fg = "ui_unfocus", bg = "ui_backdrop" }
75"ui.bufferline" = { fg = "ui_normal", bg = "ui_backdrop" }
74"ui.bufferline" = { fg = "ui_minor", bg = "ui_backdrop" }
7675"ui.bufferline.active" = { fg = "ui_important_global", bg = "ui_unfocus", modifiers = [
7776 "bold",
78], underline = { style = "double_line", color = "ui_important_global" } }
79"ui.gutter" = { bg = "backdrop" }
77], underline = { style = "double_line", color = "ui_backdrop" } }
79"ui.gutter" = { bg = "ui_backdrop" }
8181"ui.debug.breakpoint" = { fg = "ui_important_global" }
8282"ui.debug.active" = { fg = "ui_important_global" }
84"ui.window" = { fg = "ui_important_global", bg = "ui_backdrop" }
84"ui.window" = { fg = "ui_unfocus", bg = "ui_backdrop" }
8686"ui.help" = { fg = "ui_important_global", bg = "ui_backdrop" }
88"ui.text" = { fg = "normal" }
89"ui.text.focus" = { fg = "ui_focus", modifiers = [
90 "bold",
91], underline = { style = "line" } }
92"ui.text.info" = { fg = "ui_normal" }
88"ui.text" = { fg = "normal", bg = "backdrop" }
89"ui.text.focus" = { fg = "ui_focus" }
90"ui.text.info" = { fg = "ui_normal", bg = "ui_backdrop" }
9391"ui.text.inactive" = { fg = "ui_minor" }
9593"ui.menu" = { fg = "ui_normal", bg = "ui_backdrop" }
96"ui.menu.selected" = { fg = "ui_focus", modifiers = [
94"ui.menu.selected" = { fg = "ui_focus", bg = "ui_backdrop", modifiers = [
9795 "bold",
98], underline = { style = "line" } }
99"ui.menu.scroll" = { fg = "ui_minor", bg = "ui_unfocus" }
96] }
97"ui.menu.scroll" = { fg = "ui_accent", bg = "ui_backdrop" }
101"ui.popup" = { fg = "normal", bg = "ui_backdrop" }
102"ui.popup.info" = { fg = "ui_important_local", bg = "ui_backdrop" }
99"ui.popup" = { fg = "normal", bg = "backdrop" }
100"ui.popup.info" = { fg = "ui_minor", bg = "ui_backdrop" }
104102"ui.highlight" = { bg = "ui_focus" }
105103"ui.highlight.frameline" = { bg = "ui_important_global" }
107"ui.virtual.wrap" = { fg = "ui_unfocus" }
108105"ui.virtual.ruler" = { bg = "ui_unfocus" }
109106"ui.virtual.whitespace" = { fg = "ui_unfocus" }
110"ui.virtual.inlay-hint" = { fg = "minor", modifiers = ["italic"] }
107"ui.virtual.inlay-hint" = { fg = "ui_minor" }
112109"error" = { bg = "error" }
113110"warning" = { bg = "warning" }
119116"diagnostic.hint" = { underline = { style = "double_line", color = "info" }, modifiers = [
120117 "dim",
121118] }
123119"special" = { fg = "debug" }
125121[palette]
127accent = "#800080"
123normal = "#ececec"
128124backdrop = "#131313"
129debug = "#3dd45d"
130error = "#740523"
131focus = "#a5bdb6"
132important_global = "#8e58cc"
133important_local = "#7a3bc3"
134info = "#4187a7"
135minor = "#727272"
136normal = "#cfcfcf"
137ui_accent = "#7a067a"
125accent = "#560356"
126important_local = "#5540ab"
127important_global = "#5540ab"
128minor = "#676767"
129focus = "#3093aa"
130unfocus = "#04586b"
131ui_normal = "#ffffff"
138132ui_backdrop = "#000000"
139ui_focus = "#788984"
140ui_important_global = "#5f368d"
141ui_important_local = "#4c2b72"
142ui_minor = "#424242"
143ui_normal = "#e2e2e2"
144ui_unfocus = "#121212"
145unfocus = "#3f4543"
146warning = "#a7802d"
133ui_accent = "#2f042f"
134ui_important_global = "#4c3d87"
135ui_important_local = "#4c3d87"
136ui_minor = "#545454"
137ui_focus = "#2e7585"
138ui_unfocus = "#053843"
139error = "#9e1e4b"
140warning = "#b88f60"
141info = "#708eb5"
142debug = "#ff00ff"

helix/themes/nugu-light.toml

Modified

+48 / −52 text lines

3333 "bold",
3434], underline.style = "double_line" }
3535"markup.heading.marker" = { fg = "minor" }
36"markup.list" = { fg = "minor" }
36"markup.list" = "minor"
3737"markup.bold" = { modifiers = ["bold"] }
3838"markup.italic" = { modifiers = ["italic"] }
3939"markup.strikethrough" = { modifiers = ["crossed_out"] }
40"markup.link.url" = { fg = "accent" }
41"markup.link.text" = { fg = "important_local" }
42"markup.link.label" = { fg = "important_global" }
40"markup.link.url" = "accent"
41"markup.link.text" = "important_local"
42"markup.link.label" = "important_global"
4343"markup.quote" = { fg = "important_local", modifiers = ["italic"] }
4444"markup.raw.inline" = { fg = "important_local" }
4545"markup.raw.block" = { fg = "important_global" }
4848"diff.delta" = { fg = "unfocus" }
4949"diff.minus" = { fg = "focus", modifiers = ["crossed_out"] }
51"ui" = { fg = "ui_normal", bg = "ui_backdrop" }
5251"ui.background" = { fg = "normal", bg = "backdrop" }
5352"ui.background.separator" = { fg = "ui_minor" }
55"ui.cursor" = { fg = "normal", bg = "ui_accent" }
56"ui.cursor.primary" = { fg = "normal", bg = "ui_accent" }
57"ui.cursor.match" = { fg = "normal", bg = "ui_unfocus", modifiers = [
54"ui.cursor" = { fg = "normal", bg = "accent" }
55"ui.cursor.primary" = { fg = "normal", bg = "accent" }
56"ui.cursor.match" = { fg = "normal", bg = "unfocus", modifiers = [
5857 "slow_blink",
5958] }
61"ui.cursorline.primary" = { underline = { style = "line", color = "ui_unfocus" } }
60"ui.cursorline.primary" = { bg = "debug" }
63"ui.selection" = { fg = "normal", bg = "ui_unfocus" }
64"ui.selection.primary" = { fg = "normal", bg = "ui_important_local" }
62"ui.selection" = { fg = "normal", bg = "ui_important_local" }
63"ui.selection.primary" = { fg = "normal", bg = "ui_important_global" }
66"ui.linenr" = { fg = "ui_minor", bg = "backdrop" }
67"ui.linenr.selected" = { fg = "ui_focus" }
65"ui.linenr" = { fg = "ui_unfocus" }
66"ui.linenr.selected" = { fg = "ui_accent" }
69"ui.statusline" = { fg = "ui_normal", bg = "ui_backdrop" }
68"ui.statusline" = { fg = "ui_minor", bg = "ui_backdrop" }
7069"ui.statusline.separator" = { fg = "ui_unfocus", bg = "ui_backdrop" }
7170"ui.statusline.insert" = { fg = "ui_important_global", modifiers = ["bold"] }
7271"ui.statusline.select" = { fg = "ui_focus", modifiers = ["bold"] }
73"ui.statusline.inactive" = { fg = "ui_minor", bg = "ui_backdrop" }
72"ui.statusline.inactive" = { fg = "ui_unfocus", bg = "ui_backdrop" }
75"ui.bufferline" = { fg = "ui_normal", bg = "ui_backdrop" }
74"ui.bufferline" = { fg = "ui_minor", bg = "ui_backdrop" }
7675"ui.bufferline.active" = { fg = "ui_important_global", bg = "ui_unfocus", modifiers = [
7776 "bold",
78], underline = { style = "double_line", color = "ui_important_global" } }
79"ui.gutter" = { bg = "backdrop" }
77], underline = { style = "double_line", color = "ui_backdrop" } }
79"ui.gutter" = { bg = "ui_backdrop" }
8181"ui.debug.breakpoint" = { fg = "ui_important_global" }
8282"ui.debug.active" = { fg = "ui_important_global" }
84"ui.window" = { fg = "ui_important_global", bg = "ui_backdrop" }
84"ui.window" = { fg = "ui_unfocus", bg = "ui_backdrop" }
8686"ui.help" = { fg = "ui_important_global", bg = "ui_backdrop" }
88"ui.text" = { fg = "normal" }
89"ui.text.focus" = { fg = "ui_focus", modifiers = [
90 "bold",
91], underline = { style = "line" } }
92"ui.text.info" = { fg = "ui_normal" }
88"ui.text" = { fg = "normal", bg = "backdrop" }
89"ui.text.focus" = { fg = "ui_focus" }
90"ui.text.info" = { fg = "ui_normal", bg = "ui_backdrop" }
9391"ui.text.inactive" = { fg = "ui_minor" }
9593"ui.menu" = { fg = "ui_normal", bg = "ui_backdrop" }
96"ui.menu.selected" = { fg = "ui_focus", modifiers = [
94"ui.menu.selected" = { fg = "ui_focus", bg = "ui_backdrop", modifiers = [
9795 "bold",
98], underline = { style = "line" } }
99"ui.menu.scroll" = { fg = "ui_minor", bg = "ui_unfocus" }
96] }
97"ui.menu.scroll" = { fg = "ui_accent", bg = "ui_backdrop" }
101"ui.popup" = { fg = "normal", bg = "ui_backdrop" }
102"ui.popup.info" = { fg = "ui_important_local", bg = "ui_backdrop" }
99"ui.popup" = { fg = "normal", bg = "backdrop" }
100"ui.popup.info" = { fg = "ui_minor", bg = "ui_backdrop" }
104102"ui.highlight" = { bg = "ui_focus" }
105103"ui.highlight.frameline" = { bg = "ui_important_global" }
107"ui.virtual.wrap" = { fg = "ui_unfocus" }
108105"ui.virtual.ruler" = { bg = "ui_unfocus" }
109106"ui.virtual.whitespace" = { fg = "ui_unfocus" }
110"ui.virtual.inlay-hint" = { fg = "minor", modifiers = ["italic"] }
107"ui.virtual.inlay-hint" = { fg = "ui_minor" }
112109"error" = { bg = "error" }
113110"warning" = { bg = "warning" }
119116"diagnostic.hint" = { underline = { style = "double_line", color = "info" }, modifiers = [
120117 "dim",
121118] }
123119"special" = { fg = "debug" }
125121[palette]
127accent = "#800080"
128backdrop = "#e3e3e3"
129debug = "#3dd45d"
130error = "#f27a9a"
131focus = "#646464"
132important_global = "#48256e"
133important_local = "#643398"
134info = "#e7f0f3"
135minor = "#878787"
136normal = "#494949"
137ui_accent = "#d43dd4"
138ui_backdrop = "#c7c7c7"
139ui_focus = "#646464"
140ui_important_global = "#9170b5"
141ui_important_local = "#ae95c8"
142ui_minor = "#d0d0d0"
143ui_normal = "#929292"
144ui_unfocus = "#c9c9c9"
145unfocus = "#c9c9c9"
146warning = "#f1e8d6"
123normal = "#ffffff"
124backdrop = "#000000"
125accent = "#a006a0"
126important_local = "#8270ca"
127important_global = "#8270ca"
128minor = "#8d8d8d"
129focus = "#60bdd4"
130unfocus = "#0788a8"
131ui_normal = "#ececec"
132ui_backdrop = "#131313"
133ui_accent = "#bd0fbd"
134ui_important_global = "#9e92cf"
135ui_important_local = "#9e92cf"
136ui_minor = "#a0a0a0"
137ui_focus = "#85c6d6"
138ui_unfocus = "#11a1c5"
139error = "#d8326c"
140warning = "#d0b596"
141info = "#a3b6cf"
142debug = "#ff00ff"

neovim/colors/nugu.lua

Modified

+6 / −7 text lines

1local const = require'std.const'
1local const = require 'std.const'
3if vim.g.colors_name == nil then
4 vim.opt.background = const.os_background
5else
6 -- Reset all highlights if another colorscheme was previously set
7 vim.cmd [[ highlight clear ]]
8end
3-- Reset all highlights if another colorscheme was previously set
4vim.cmd [[ highlight clear ]]
5vim.opt.background = const.os_background
107vim.g.colors_name = 'nugu'
129-- this is necessary to toggle light/dark during runtime
1310package.loaded['bugabinga.nugu'] = nil
1411package.loaded['bugabinga.nugu.palette'] = nil
12package.loaded['bugabinga.nugu.palette_dark'] = nil
13package.loaded['bugabinga.nugu.palette_light'] = nil
1615require 'bugabinga.nugu' ()

neovim/init.lua

Modified

+3 / −8 text lines

2222require 'bugabinga.options'
2323require 'bugabinga.editorconfig'
24require 'bugabinga.save_actions'
2425require 'bugabinga.sessions'
2526require 'bugabinga.lazy'
27require 'bugabinga.terminal'
28require 'bugabinga.diagnostic'
2729require 'bugabinga.lsp'
29vim.defer_fn( function ()
30 require 'bugabinga.terminal'
31 require 'bugabinga.diagnostic'
32 require 'bugabinga.save_actions'
33 require 'bugabinga.lsp.lightbulb'
34 end, 444 )

neovim/lua/bugabinga/lsp/lightbulb.lua

Deleted
deleted file mode 100644

+0 / −129 text lines

1--VSCode-like lightbulb.
2--Implementation inspired from https://github.com/nvimdev/lspsaga.nvim/blob/c9b17bc7dc694bdbeb3788a583518073a30a6de2/lua/lspsaga/codeaction/lightbulb.lua
3
4local lb_name = 'mariasolos/lightbulb'
5local lb_namespace = vim.api.nvim_create_namespace( lb_name )
6local lb_icon = require 'std.icon'.hint
7local lb_group = vim.api.nvim_create_augroup( lb_name, { clear = true } )
8local code_action_method = vim.lsp.protocol.Methods.textDocument_codeAction
9local timer = vim.uv.new_timer()
10local updated_bufnr = nil
12---Updates the current lightbulb.
13---@param bufnr number?
14---@param line number?
15local function update_extmark( bufnr, line )
16 if not bufnr or not vim.api.nvim_buf_is_valid( bufnr ) then
17 return
18 end
20 vim.api.nvim_buf_clear_namespace( bufnr, lb_namespace, 0, -1 )
22 -- Extra check for not being in insert mode here because sometimes the autocommand
23 -- fails with motions from Comment.nvim.
24 if not line or vim.api.nvim_get_mode().mode:sub( 1, 1 ) == 'i' then
25 return
26 end
28 vim.api.nvim_buf_set_extmark( bufnr, lb_namespace, line, -1, {
29 virt_text = { { ' ' .. lb_icon, 'DiagnosticSignHint' } },
30 hl_mode = 'combine',
31 } )
33 updated_bufnr = bufnr
34end
36---Queries the LSP servers for code actions and updates the lightbulb
37---accordingly.
38---@param bufnr number
39local function render( bufnr )
40 local line = vim.api.nvim_win_get_cursor( 0 )[1] - 1
41 local diagnostics = vim.diagnostic.get( bufnr, { lnum = line } )
43 -- If there are hints in the current line, don't show yet another lightbulb.
44 if
45 vim.iter( diagnostics ):any( function ( diag )
46 return diag.severity == vim.diagnostic.severity.HINT
47 end )
48 then
49 update_extmark( bufnr, nil )
50 return
51 end
53 local params = vim.lsp.util.make_range_params()
54 params.context = {
55 diagnostics = diagnostics,
56 triggerKind = vim.lsp.protocol.CodeActionTriggerKind.Automatic,
57 }
59 vim.lsp.buf_request( bufnr, code_action_method, params, function ( _, res, _ )
60 if vim.api.nvim_get_current_buf() ~= bufnr then
61 return
62 end
64 update_extmark( bufnr, (res and #res > 0 and line) or nil )
65 end )
66end
68-- I don't fully understand how this works, kind of just copy-pasted it
69-- from lspsaga.
70---@param bufnr number
71local function update( bufnr )
72 assert( timer, 'Timer is not initialized' )
74 timer:stop()
75 update_extmark( updated_bufnr )
76 timer:start( 100, 0, function ()
77 timer:stop()
78 vim.schedule( function ()
79 if vim.api.nvim_buf_is_valid( bufnr ) and vim.api.nvim_get_current_buf() == bufnr then
80 render( bufnr )
81 end
82 end )
83 end )
84end
86vim.api.nvim_create_autocmd( 'LspAttach', {
87 group = lb_group,
88 desc = 'Configure code action lightbulb',
89 callback = function ( event )
90 local buf = event.buf
91 local client = vim.lsp.get_client_by_id( event.data.client_id )
93 if not client or not client.supports_method( code_action_method ) then
94 return
95 end
97 local buf_group_name = lb_name .. tostring( buf )
98 if pcall( vim.api.nvim_get_autocmds, { group = buf_group_name, buffer = buf } ) then
99 return
100 end
102 local lb_buf_group = vim.api.nvim_create_augroup( buf_group_name, { clear = true } )
103 vim.api.nvim_create_autocmd( 'CursorMoved', {
104 group = lb_buf_group,
105 desc = 'Update lightbulb when moving the cursor in normal/visual mode',
106 buffer = buf,
107 callback = function ()
108 update( buf )
109 end,
110 } )
112 vim.api.nvim_create_autocmd( { 'InsertEnter', 'BufLeave' }, {
113 group = lb_buf_group,
114 desc = 'Update lightbulb when entering insert mode or leaving the buffer',
115 buffer = event.buf,
116 callback = function ()
117 update_extmark( buf, nil )
118 end,
119 } )
120 end,
121} )
123vim.api.nvim_create_autocmd( 'LspDetach', {
124 group = lb_group,
125 desc = 'Detach code action lightbulb',
126 callback = function ( event )
127 pcall( vim.api.nvim_del_augroup_by_name, lb_name .. tostring( event.buf ) )
128 end,
129} )

neovim/lua/bugabinga/nugu/init.lua

Modified

+0 / −6 text lines

11local palette = require 'bugabinga.nugu.palette'
2local preview = require 'bugabinga.nugu.preview'
43local debug = (palette.debug)
54local error = (palette.error)
377376_.WhichKeyBorder = _.FloatBorder
378377_.WhichKeyValue = _.Comment
380_.IblIndent = _.Whitespace
381_.IblWhitespace = _.Whitespace
382_.IblScope { fg = ui_focus, bg = _.Normal.bg }
384379return function ()
385 preview.setup()
386380 local namespace = 0
387381 for name, group in pairs( _.groups ) do
388382 vim.api.nvim_set_hl( namespace, name, group )

neovim/lua/bugabinga/nugu/palette.lua

Modified

+23 / −20 text lines

1local palette_dark = require 'bugabinga.nugu.palette_dark'
2local palette_light = require 'bugabinga.nugu.palette_light'
3
14local choose = function ( variants )
25 ---@diagnostic disable-next-line: undefined-field
36 if vim.opt.background:get() == 'dark' then
811end
1013return {
11 debug = choose { light = '#3dd45d', dark = '#3dd45d' },
12 error = choose { light = '#740523', dark = '#f27a9a' },
13 info = choose { light = '#4187a7', dark = '#e7f0f3' },
14 warning = choose { light = '#a7802d', dark = '#f1e8d6' },
14 debug = choose { light = palette_light.debug, dark = palette_dark.debug },
15 error = choose { light = palette_light.error, dark = palette_dark.error },
16 info = choose { light = palette_light.info, dark = palette_dark.info },
17 warning = choose { light = palette_light.warning, dark = palette_dark.warning },
16 content_normal = choose { light = '#494949', dark = '#cfcfcf' },
17 content_backdrop = choose { light = '#e3e3e3', dark = '#131313' },
18 content_accent = choose { light = '#800080', dark = '#800080' },
19 content_minor = choose { light = '#878787', dark = '#727272' },
20 content_focus = choose { light = '#646464', dark = '#a5bdb6' },
21 content_unfocus = choose { light = '#c9c9c9', dark = '#3f4543' },
22 content_important_global = choose { light = '#48256e', dark = '#8e58cc' },
23 content_important_local = choose { light = '#643398', dark = '#7a3bc3' },
19 content_normal = choose { light = palette_light.content_normal, dark = palette_dark.content_normal },
20 content_backdrop = choose { light = palette_light.content_backdrop, dark = palette_dark.content_backdrop },
21 content_accent = choose { light = palette_light.content_accent, dark = palette_dark.content_accent },
22 content_minor = choose { light = palette_light.content_minor, dark = palette_dark.content_minor },
23 content_focus = choose { light = palette_light.content_focus, dark = palette_dark.content_focus },
24 content_unfocus = choose { light = palette_light.content_unfocus, dark = palette_dark.content_unfocus },
25 content_important_global = choose { light = palette_light.content_important_global, dark = palette_dark.content_important_global },
26 content_important_local = choose { light = palette_light.content_important_local, dark = palette_dark.content_important_local },
25 ui_normal = choose { light = '#929292', dark = '#e2e2e2' },
26 ui_backdrop = choose { light = '#f9f9f9', dark = '#000000' },
27 ui_accent = choose { light = '#d43dd4', dark = '#7a067a' },
28 ui_minor = choose { light = '#d0d0d0', dark = '#424242' },
29 ui_focus = choose { light = '#646464', dark = '#788984' },
30 ui_unfocus = choose { light = '#c9c9c9', dark = '#121212' },
31 ui_important_global = choose { light = '#9170b5', dark = '#5f368d' },
32 ui_important_local = choose { light = '#ae95c8', dark = '#4c2b72' },
28 ui_normal = choose { light = palette_light.ui_normal, dark = palette_dark.ui_normal },
29 ui_backdrop = choose { light = palette_light.ui_backdrop, dark = palette_dark.ui_backdrop },
30 ui_accent = choose { light = palette_light.ui_accent, dark = palette_dark.ui_accent },
31 ui_minor = choose { light = palette_light.ui_minor, dark = palette_dark.ui_minor },
32 ui_focus = choose { light = palette_light.ui_focus, dark = palette_dark.ui_focus },
33 ui_unfocus = choose { light = palette_light.ui_unfocus, dark = palette_dark.ui_unfocus },
34 ui_important_global = choose { light = palette_light.ui_important_global, dark = palette_dark.ui_important_global },
35 ui_important_local = choose { light = palette_light.ui_important_local, dark = palette_dark.ui_important_local },

neovim/lua/bugabinga/nugu/palette_dark.lua

Added
new file mode 100644

+26 / −0 text lines

1
2 return {
3 debug = '#ff00ff',
4 error = '#9e1e4b',
5 info = '#708eb5',
6 warning = '#b88f60',
7
8 content_normal = '#ececec',
9 content_backdrop = '#131313',
10 content_accent = '#560356',
11 content_minor = '#676767',
12 content_focus = '#3093aa',
13 content_unfocus = '#04586b',
14 content_important_global = '#5540ab',
15 content_important_local = '#5540ab',
17 ui_normal = '#ffffff',
18 ui_backdrop = '#000000',
19 ui_accent = '#2f042f',
20 ui_minor = '#545454',
21 ui_focus = '#2e7585',
22 ui_unfocus = '#053843',
23 ui_important_global = '#4c3d87',
24 ui_important_local = '#4c3d87',
25 }
26 No final newline

neovim/lua/bugabinga/nugu/palette_light.lua

Added
new file mode 100644

+26 / −0 text lines

1
2 return {
3 debug = '#ff00ff',
4 error = '#d8326c',
5 info = '#a3b6cf',
6 warning = '#d0b596',
7
8 content_normal = '#ffffff',
9 content_backdrop = '#000000',
10 content_accent = '#a006a0',
11 content_minor = '#8d8d8d',
12 content_focus = '#60bdd4',
13 content_unfocus = '#0788a8',
14 content_important_global = '#8270ca',
15 content_important_local = '#8270ca',
17 ui_normal = '#ececec',
18 ui_backdrop = '#131313',
19 ui_accent = '#bd0fbd',
20 ui_minor = '#a0a0a0',
21 ui_focus = '#85c6d6',
22 ui_unfocus = '#11a1c5',
23 ui_important_global = '#9e92cf',
24 ui_important_local = '#9e92cf',
25 }
26 No final newline

neovim/lua/bugabinga/nugu/preview.lua

Deleted
deleted file mode 100644

+0 / −10 text lines

1-- TODO: create preview function, that highlights the current buffer with highlights of the global namespace, if group
2-- name matches somewhere in the buffer
3-- TODO: create user command for preview
4local render = function () end
5local setup = function () end
6
7return {
8 setup = setup,
9 render = render,
10}

neovim/lua/bugabinga/options/behaviour.lua

Modified

+13 / −2 text lines

1local debug = require 'std.dbg'
1local dbg = require 'std.dbg'
22local const = require 'std.const'
33local auto = require 'std.auto'
3232-- insert whitespace type based on whitespace on previous line
3333vim.opt.smarttab = true
35vim.opt.wrap = true
35vim.opt.wrap = false
3636vim.opt.breakindent = true
3838-- do not keep distance to borders while scrolling
132132 cache_enabled = 0,
133133 }
134134end
136auto 'handle_usr1_signal' {
137 description = 'Reloads the current theme, when USR1 signal is received',
138 events = { 'Signal' },
139 pattern = 'SIGUSR1',
140 command = function ()
141 dbg.print 'received signal USR1! Attempting to reload colorscheme.'
143 vim.cmd.colorscheme 'nugu'
144 end,
145}

neovim/lua/bugabinga/plugins/heirline.lua

Modified

+0 / −11 text lines

233233 end,
234234 }
236 -- FIXME: still incubating
237 local lsp_dr_count = {
238 condition = conditions.lsp_attached,
239 update = { 'CursorMoved' },
240 provider = function ()
241 local lsp_count = prequire 'dr-lsp'.lspCount()
242 return lsp_count and lsp_count:gsub( 'LSP', '' )
243 end,
244 }
246237 local lsp_active = {
247238 condition = conditions.lsp_attached,
482473 space,
483474 escape_status,
484475 space,
485 lsp_dr_count,
486 space,
487476 lsp_active,
488477 space,
489478 file_encoding,

neovim/lua/bugabinga/plugins/incubator.lua

Modified

+13 / −180 text lines

66-- temporarily, get rid of all incubating plugins.
77local FUCK_STABILITY = true
9local ignored = require 'std.ignored'
109local icon = require 'std.icon'
10local dbg = require 'std.dbg'
11local ignored = require'std.ignored'
1213return {
1314 -------------------------------------------------------------------------------
9495 },
9596 -------------------------------------------------------------------------------
9697 {
97 'chrisgrieser/nvim-dr-lsp',
98 event = 'LspAttach',
99 opts = {},
100 enabled = FUCK_STABILITY,
101 },
102 -------------------------------------------------------------------------------
103 {
98 -- this plugin has some sick visual text formatting chops. check them out some time.
10499 'Wansmer/symbol-usage.nvim',
105100 event = 'LspAttach',
106 opts = {},
107 enabled = FUCK_STABILITY,
108 },
109 -------------------------------------------------------------------------------
110 {
111 -- FIXME: no worky in wezterm ?
112 -- mouse idle seems to send no event.
113 'soulis-1256/eagle.nvim',
114 lazy = false,
115 init = function ()
116 vim.o.mousemoveevent = true
117 end,
101 opts = {
102 hi = { link = 'LineNr' },
103 vt_position = 'end_of_line',
104 request_pending_text = false,
105 disable = {
106 filetypes = ignored.filetypes,
107 },
108 log = { enabled = dbg.get() },
109 },
118110 enabled = FUCK_STABILITY,
119111 },
120112 -------------------------------------------------------------------------------
146138 },
147139 enabled = FUCK_STABILITY,
148140 },
150 {
151 'cenk1cenk2/scratch.nvim',
152 enabled = FUCK_STABILITY,
153 },
154 -------------------------------------------------------------------------------
155 {
156 'AdeAttwood/ivy.nvim',
157 lazy = false,
158 build = 'cargo build --release',
159 opts = {},
160 enabled = false,
161 -- this one is not ready yet, but looks promising
162 },
163 -------------------------------------------------------------------------------
164 {
165 'roobert/surround-ui.nvim',
166 lazy = false,
167 dependencies = {
168 'kylechui/nvim-surround',
169 'folke/which-key.nvim',
170 },
171 opts = {
172 root_key = 'ms',
173 },
174 enabled = FUCK_STABILITY,
175 },
176 -------------------------------------------------------------------------------
177 {
178 'rachartier/tiny-inline-diagnostic.nvim',
179 event = 'LspAttach',
180 config = function ()
181 require 'tiny-inline-diagnostic'.setup()
182 end,
183 enabled = FUCK_STABILITY,
184 },
185141 -------------------------------------------------------------------------------
186142 {
187143 'winston0410/range-highlight.nvim',
195151 'chrisgrieser/nvim-lsp-endhints',
196152 event = 'LspAttach',
197153 opts = {
154 autoEnableHints = false,
198155 icons = {
199156 type = icon.type .. ' ',
200157 parameter = icon.paramter,
208165 enabled = FUCK_STABILITY,
209166 },
210167 -------------------------------------------------------------------------------
211 {
212 -- FIXME: does not seem to worky? at least for lua.
213 'zbirenbaum/neodim',
214 event = 'LspAttach',
215 opts = {},
216 enabled = FUCK_STABILITY,
217 },
218 -------------------------------------------------------------------------------
219168 {
220169 'rafcamlet/nvim-luapad',
221170 cmd = { 'Luapad', 'LuaRun' },
225174 },
226175 -------------------------------------------------------------------------------
227 {
228 'ravibrock/spellwarn.nvim',
229 event = 'VeryLazy',
230 config = true,
231 enabled = FUCK_STABILITY,
232 },
233 -------------------------------------------------------------------------------
234176 {
235177 'emmanueltouzery/decisive.nvim',
236178 config = function ()
246188 enabled = FUCK_STABILITY,
247189 },
248190 -------------------------------------------------------------------------------
249 {
250 'tris203/precognition.nvim',
251 event = 'VeryLazy',
252 opts = {
253 startVisible = true,
254 showBlankVirtLine = true,
255 highlightColor = { link = 'LineNr' },
256 -- hints = {
257 -- Caret = { text = "^", prio = 2 },
258 -- Dollar = { text = "$", prio = 1 },
259 -- MatchingPair = { text = "%", prio = 5 },
260 -- Zero = { text = "0", prio = 1 },
261 -- w = { text = "w", prio = 10 },
262 -- b = { text = "b", prio = 9 },
263 -- e = { text = "e", prio = 8 },
264 -- W = { text = "W", prio = 7 },
265 -- B = { text = "B", prio = 6 },
266 -- E = { text = "E", prio = 5 },
267 -- },
268 -- gutterHints = {
269 -- G = { text = "G", prio = 10 },
270 -- gg = { text = "gg", prio = 9 },
271 -- PrevParagraph = { text = "{", prio = 8 },
272 -- NextParagraph = { text = "}", prio = 8 },
273 -- },
274 disabled_fts = ignored.filetypes,
275 },
276 enabled = FUCK_STABILITY,
277 },
278 -------------------------------------------------------------------------------
279191 {
280192 'folke/lazydev.nvim',
281193 dependencies = { 'justinsgithub/wezterm-types' },
294206 },
295207 enabled = FUCK_STABILITY,
296208 },
297 {
298 'shortcuts/no-neck-pain.nvim',
299 lazy = false,
300 enabled = FUCK_STABILITY,
301 },
302209 -------------------------------------------------------------------------------
303210 {
304211 -- TODO: bind IMove* to alt+h and alt+l with fallback to gomove
308215 enabled = FUCK_STABILITY,
309216 },
310217 -------------------------------------------------------------------------------
311 {
312 'mfussenegger/nvim-dap',
313 dependencies = {
314 {
315 'debugloop/layers.nvim',
316 opts = {},
317 },
318 },
319 keys = {
320 {
321 '<leader>d',
322 function ()
323 local dap = require 'dap'
324 if dap.session() ~= nil then
325 DEBUG_MODE:activate()
326 return
327 end
328 dap.continue()
329 end,
330 desc = 'launch debugger',
331 },
332 opts = {},
333 config = function ( _, opts )
334 local dap = require 'dap'
335 -- do the setup you'd do anyway for your language of choice
336 dap.adapters = opts.adapters
337 dap.configurations = opts.configurations
338 -- this is where the example starts
339 DEBUG_MODE = Layers.mode.new() -- global, accessible from anywhere
340 DEBUG_MODE:auto_show_help()
341 -- this actually relates to the next example, but it is most convenient to add here
342 DEBUG_MODE:add_hook( function ( _ )
343 vim.cmd 'redrawstatus' -- update status line when toggled
344 end )
345 -- nvim-dap hooks
346 dap.listeners.after.event_initialized['debug_mode'] = function ()
347 DEBUG_MODE:activate()
348 end
349 dap.listeners.before.event_terminated['debug_mode'] = function ()
350 DEBUG_MODE:deactivate()
351 end
352 dap.listeners.before.event_exited['debug_mode'] = function ()
353 DEBUG_MODE:deactivate()
354 end
355 -- map our custom mode keymaps
356 DEBUG_MODE:keymaps {
357 n = {
358 {
359 's',
360 function ()
361 dap.step_over()
362 end,
363 { desc = 'step forward' },
364 },
365 {
366 'c',
367 function ()
368 dap.continue()
369 end,
370 { desc = 'continue' },
371 },
372 { -- this acts as a way to leave debug mode without quitting the debugger
373 '<esc>',
374 function ()
375 DEBUG_MODE:deactivate()
376 end,
377 { desc = 'exit' },
378 },
379 },
380 }
381 end,
382 },
383 enabled = FUCK_STABILITY,
384 },

neovim/lua/bugabinga/plugins/indent_blankline.lua

Deleted
deleted file mode 100644

+0 / −15 text lines

1local icon = require 'std.icon'
2
3return {
4 'lukas-reineke/indent-blankline.nvim',
5 version = '3.*',
6 main = 'ibl',
7 event = 'VeryLazy',
8 opts = {
9 debounce = 250,
10 indent = {
11 char = icon.vertical_bar,
12 tab_char = icon.vertical_bar,
13 },
14 },
15}

neovim/lua/bugabinga/terminal.lua

Modified

+1 / −1 text lines

1414 local term_name = string.format( 'term://%s//%s', relative_cwd, shell )
1515 local buffers = vim.api.nvim_list_bufs()
1616 local existing_term = vim.iter( buffers ):map( function ( buffer_number )
17 return { buffer_number, vim.api.nvim_buf_get_name( buffer_number ), }
17 return { buffer_number, vim.api.nvim_buf_get_name( buffer_number ) }
1818 end ):filter( function ( buffer )
1919 return string.find( buffer[2], relative_cwd, 1, true )
2020 end ):next()

neovim/spell/nerd.utf-8.add

Modified

+9 / −0 text lines

9898mux
9999icepuma
100100traefik
101tclock
102sbyte
103httm
104handlr
105sd
106diskonaut
107mdsh
108ast-grep
109>>>>>>> 313efcb717d937c279f95a0b48804aedd210e3ae

neovim/spell/nerd.utf-8.add.spl

Modified

Binary size (old → new): 1424 → 1471 bytes.

wezterm/bugabinga/code_font.lua

Modified

+5 / −3 text lines

11local wez = require 'wezterm'
2local csv_line_pattern = '^%s*(%d+)%s*,%s*(.-)%s*$'
34local adjust_font_randomness_weight = function ( font_family, adjust )
45 local code_fonts = io.open( wez.config_dir .. '/bugabinga/code_fonts.csv', 'r+' )
56 if code_fonts then
67 local new_lines = {}
78 for line in code_fonts:lines() do
8 local weight, font_name = line:match '^%s*(%d+)%s*,%s*(.-)%s*$'
9 local weight, font_name = line:match(csv_line_pattern)
910 if not weight or not font_name then
1011 wez.log_error 'Could not parse code_fonts.csv. Borked?'
1112 return
1415 if font_name == font_family then
1516 weight = math.max( 0, adjust( weight ) )
1617 end
17 table.insert( new_lines, weight .. ', ' .. font_name )
18 table.insert( new_lines, weight .. ',' .. font_name )
1819 end
1920 code_fonts:seek( 'set', 0 )
2021 for _, new_line in ipairs( new_lines ) do
7980 if code_fonts then
8081 for line in code_fonts:lines() do
81 local weight, font_name = line:match '^%s*(%d+)%s*,%s*(.-)%s*$'
82 print('csv line: ' , line)
83 local weight, font_name = line:match(csv_line_pattern)
8284 if not weight or not font_name then
8385 wez.log_error 'Could not parse code_fonts.csv. Borked?'
8486 break

wezterm/bugabinga/code_fonts.csv

Modified

+110 / −111 text lines

11, Anonymous Pro
21, Anonymous Pro Minus
31, Aurulent Sans Mono
41, AverageMono
51, BPmono
61, BigBlue TerminalPlus
71, Bitstream Vera Sans Mono
81, Bront
91, CMU Typewriter Text
101, CPMono_v07
111, CamingoCode
121, Cascadia Code
131, Code New Roman
141, CodingFontTobi
151, Consola Mono
161, Courier Prime Code
171, Cousine
180, Crisp
191, Cutive Mono
201, D2Coding
211, DejaVu Sans Mono
221, Dina ttf 10px
231, Droid Sans Mono
241, Edlo
251, Envy Code R
261, Fantasque Sans Mono
271, Fira Code
281, Fira Mono
291, Fixedsys Excelsior 3.01
301, FreeMono
311, Geist Mono
3220, Generic Mono II
331, GohuFont
341, Hack
351, Hasklig
3611, Hermit
3711, IBM Plex Mono
381, Inconsolata
391, Inconsolata LGC
401, Inconsolata-dz
411, Inconsolata-g
421, Intel One Mono
431, Iosevka
441, Iosevka Slab
450, JetBrains Mono
460, JetBrains Mono NL
471, Kawkab Mono
481, Latin Modern Mono Light
4911, Lekton
501, Liberation Mono
511, Lilex
521, Linux Libertine Mono
531, Luculent
541, Luxi Mono
551, M+ 1m
561, M+ 1mn
571, M+ 2m
581, Martian Mono
591, Mensch
600, Meslo LG M DZ
611, Metrickal
621, Monaspace Argon Var
631, Monaspace Krypton Var
641, Monaspace Neon Var
651, Monaspace Radon Var
661, Monaspace Xenon Var
671, MonoSpatial
681, Monoid
691, Monospace
701, MonteCarlo Fixed 12
711, NanumGothic_Coding
721, NotCourierSans
731, Office Code Pro
741, Office Code Pro D
756, Oxygen Mono
761, PT Mono
771, Panic Sans
780, PixelCarnageMonoTT
791, Pointfree
801, ProFontWindows
811, ProggyCleanTT
821, ProggyCleanTTSZ
831, ProggySmallTT
840, ProggySquareTT
851, ProggySquareTTSZ
861, ProggyTinyTT
871, ProggyTinyTTSZ
881, Rec Mono Casual
891, Rec Mono Linear
901, Roboto Mono
911, SV Basic Manual
921, Share Tech Mono
931, Share-TechMonoTrue
941, SmallTypeWriting
951, Source Code Pro
961, Sudo
971, Symbols Nerd Font
981, Symbols Nerd Font Mono
991, TeX Gyre Cursor
1001, Terminus
1011, Ubuntu Mono
1020, Verily Serif Mono
1031, Victor Mono
1041, Whois
1051, agave
1061, iA Writer Mono V
1071, monoOne
1081, monofur
1091, mononoki
1100, saxMono
11,Anonymous Pro
21,Anonymous Pro Minus
31,Aurulent Sans Mono
41,AverageMono
51,BPmono
61,BigBlue TerminalPlus
710,Bitstream Vera Sans Mono
81,Bront
90,CMU Typewriter Text
101,CPMono_v07
111,CamingoCode
121,Cascadia Code
131,Code New Roman
141,CodingFontTobi
151,Consola Mono
161,Courier Prime Code
171,Cousine
180,Crisp
191,Cutive Mono
201,D2Coding
211,DejaVu Sans Mono
221,Dina ttf 10px
231,Droid Sans Mono
241,Edlo
251,Envy Code R
261,Fantasque Sans Mono
271,Fira Code
281,Fira Mono
291,Fixedsys Excelsior 3.01
301,FreeMono
311,Geist Mono
3220,Generic Mono II
331,GohuFont
341,Hack
351,Hasklig
3611,Hermit
3711,IBM Plex Mono
381,Inconsolata
391,Inconsolata LGC
401,Inconsolata-dz
411,Inconsolata-g
421,Intel One Mono
431,Iosevka
441,Iosevka Slab
450,JetBrains Mono
460,JetBrains Mono NL
471,Kawkab Mono
481,Latin Modern Mono Light
4911,Lekton
501,Liberation Mono
511,Lilex
521,Linux Libertine Mono
531,Luculent
541,Luxi Mono
551,M+ 1m
561,M+ 1mn
571,M+ 2m
581,Martian Mono
591,Mensch
600,Meslo LG M DZ
611,Metrickal
621,Monaspace Argon Var
631,Monaspace Krypton Var
641,Monaspace Neon Var
651,Monaspace Radon Var
661,Monaspace Xenon Var
671,MonoSpatial
681,Monoid
691,Monospace
701,MonteCarlo Fixed 12
711,NanumGothic_Coding
721,NotCourierSans
731,Office Code Pro
741,Office Code Pro D
756,Oxygen Mono
761,PT Mono
771,Panic Sans
780,PixelCarnageMonoTT
791,Pointfree
801,ProFontWindows
811,ProggyCleanTT
820,ProggyCleanTTSZ
830,ProggySmallTT
840,ProggySquareTT
850,ProggySquareTTSZ
861,ProggyTinyTT
870,ProggyTinyTTSZ
881,Rec Mono Casual
891,Rec Mono Linear
901,Roboto Mono
911,SV Basic Manual
921,Share Tech Mono
931,Share-TechMonoTrue
941,SmallTypeWriting
951,Source Code Pro
961,Sudo
971,Symbols Nerd Font
981,Symbols Nerd Font Mono
991,TeX Gyre Cursor
1001,Terminus
1011,Ubuntu Mono
1020,Verily Serif Mono
1031,Victor Mono
1041,Whois
1051,agave
1061,iA Writer Mono V
1071,monoOne
1081,monofur
1091,mononoki
1100,saxMono

wezterm/bugabinga/nugu.lua

Modified

+82 / −254 text lines

11return {
22 ['nugu-dark'] = {
33 -- The default text color
4 foreground = '#cfcfcf',
4 foreground = '#ffffff',
5 -- The default background color
6 background = '#000000',
7
8 -- Overrides the cell background color when the current cell is occupied by the
9 -- cursor and the cursor style is set to Block
10 cursor_bg = '#2f042f',
11 -- Overrides the text color when the current cell is occupied by the cursor
12 cursor_fg = '#4c3d87',
13 -- Specifies the border color of the cursor when the cursor style is set to Block,
14 -- or the color of the vertical or horizontal bar when the cursor style is set to
15 -- Bar or Underline.
16 cursor_border = '#2f042f',
18 -- the foreground color of selected text
19 selection_fg = '#4c3d87',
20 -- the background color of selected text
21 selection_bg = '#2e7585',
23 -- The color of the scrollbar 'thumb'; the portion that represents the current viewport
24 scrollbar_thumb = '#053843',
26 -- The color of the split lines between panes
27 split = '#053843',
29 ansi = {
30 '#ececec', -- black
31 '#9e1e4b', -- red
32 '#708eb5', -- green
33 '#b88f60', -- yellow
34 '#5540ab', -- blue
35 '#560356', -- magenta
36 '#3093aa', -- cyan
37 '#676767', -- white
38 },
40 brights = {
41 '#ffffff',
42 '#bd3263',
43 '#9aaabe',
44 '#bfa78c',
45 '#7767b7',
46 '#810c81',
47 '#4faabe',
48 '#818181',
49 },
51 -- Since: 20220319-142410-0fcdea07
52 -- When the IME, a dead key or a leader key are being processed and are effectively
53 -- holding input pending the result of input composition, change the cursor
54 -- to this color to give a visual cue about the compose state.
55 compose_cursor = '#2e7585',
56 visual_bell = '#4c3d87',
57 },
58 ['nugu-light'] = {
59 -- The default text color
60 foreground = '#ececec',
561 -- The default background color
662 background = '#131313',
864 -- Overrides the cell background color when the current cell is occupied by the
965 -- cursor and the cursor style is set to Block
10 cursor_bg = '#7a067a',
66 cursor_bg = '#bd0fbd',
1167 -- Overrides the text color when the current cell is occupied by the cursor
12 cursor_fg = '#5f368d',
68 cursor_fg = '#9e92cf',
1369 -- Specifies the border color of the cursor when the cursor style is set to Block,
1470 -- or the color of the vertical or horizontal bar when the cursor style is set to
1571 -- Bar or Underline.
16 cursor_border = '#7a067a',
72 cursor_border = '#bd0fbd',
1874 -- the foreground color of selected text
19 selection_fg = '#cfcfcf',
75 selection_fg = '#9e92cf',
2076 -- the background color of selected text
21 selection_bg = '#4c2b72',
77 selection_bg = '#85c6d6',
2379 -- The color of the scrollbar 'thumb'; the portion that represents the current viewport
24 scrollbar_thumb = '#121212',
80 scrollbar_thumb = '#11a1c5',
2682 -- The color of the split lines between panes
27 split = '#5f368d',
83 split = '#11a1c5',
2985 ansi = {
30 '#5d355c',
31 '#c41653',
32 '#acc1a0',
33 '#a08d7b',
34 '#6d15c0',
35 '#c015c0',
36 '#929396',
37 '#c7c7c7',
86 '#ffffff', -- black
87 '#d8326c', -- red
88 '#a3b6cf', -- green
89 '#d0b596', -- yellow
90 '#8270ca', -- blue
91 '#a006a0', -- magenta
92 '#60bdd4', -- cyan
93 '#8d8d8d', -- white
3894 },
4096 brights = {
41 '#9d9d9d',
42 '#ea4571',
43 '#a6a78f',
44 '#e0cfaa',
45 '#8940ea',
46 '#ea3fea',
47 '#c0d5df',
48 '#f2eef1',
97 '#e6e6e6',
98 '#aa2d59',
99 '#8b9db4',
100 '#b69b7d',
101 '#6957b0',
102 '#690a69',
103 '#45a4bc',
104 '#747474',
49105 },
51107 -- Since: 20220319-142410-0fcdea07
52108 -- When the IME, a dead key or a leader key are being processed and are effectively
53109 -- holding input pending the result of input composition, change the cursor
54110 -- to this color to give a visual cue about the compose state.
55 compose_cursor = '#788984',
56 -- Colors for copy_mode and quick_select
57 -- available since: 20220807-113146-c2fee766
58 -- In copy_mode, the color of the active text is:
59 -- 1. copy_mode_active_highlight_* if additional text was selected using the mouse
60 -- 2. selection_* otherwise
61 copy_mode_active_highlight_bg = { Color = '#5f368d' },
62 copy_mode_active_highlight_fg = { Color = '#cfcfcf' },
63 copy_mode_inactive_highlight_bg = { Color = '#121212' },
64 copy_mode_inactive_highlight_fg = { Color = '#727272' },
66 quick_select_label_bg = { Color = '#5f368d' },
67 quick_select_label_fg = { Color = '#cfcfcf' },
68 quick_select_match_bg = { Color = '#4c2b72' },
69 quick_select_match_fg = { Color = '#cfcfcf' },
71 tab_bar = {
72 -- The color of the strip that goes along the top of the window
73 -- does not apply when fancy tab bar is in use
74 background = '#000000',
76 -- The active tab is the one that has focus in the window
77 active_tab = {
78 -- The color of the background area for the tab
79 bg_color = '#000000',
80 -- The color of the text for the tab
81 fg_color = '#5f368d',
83 -- Specify whether you want 'Half', 'Normal' or 'Bold' intensity for the
84 -- label shown for this tab.
85 -- The default is 'Normal'
86 intensity = 'Bold',
88 -- Specify whether you want 'None', 'Single' or 'Double' underline for
89 -- label shown for this tab.
90 -- The default is 'None'
91 underline = 'Double',
93 -- Specify whether you want the text to be italic or not
94 -- for this tab. The default is false.
95 italic = false,
97 -- Specify whether you want the text to be rendered with strikethrough
98 -- or not for this tab. The default is false.
99 strikethrough = false,
100 },
102 -- Inactive tabs are the tabs that do not have focus
103 inactive_tab = {
104 bg_color = '#000000',
105 fg_color = '#e2e2e2',
106 intensity = 'Normal',
108 -- The same options that were listed under the `active_tab` section above
109 -- can also be used for `inactive_tab`.
110 },
112 -- You can configure some alternate styling when the mouse pointer
113 -- moves over inactive tabs
114 inactive_tab_hover = {
115 bg_color = '#788984',
116 fg_color = '#e2e2e2',
117 italic = true,
119 -- The same options that were listed under the `active_tab` section above
120 -- can also be used for `inactive_tab_hover`.
121 },
123 -- The new tab button that let you create new tabs
124 new_tab = {
125 bg_color = '#000000',
126 fg_color = '#121212',
128 -- The same options that were listed under the `active_tab` section above
129 -- can also be used for `new_tab`.
130 },
132 -- You can configure some alternate styling when the mouse pointer
133 -- moves over the new tab button
134 new_tab_hover = {
135 bg_color = '#788984',
136 fg_color = '#e2e2e2',
137 italic = true,
139 -- The same options that were listed under the `active_tab` section above
140 -- can also be used for `new_tab_hover`.
141 },
142 },
143 },
144 ['nugu-light'] = {
145 -- The default text color
146 foreground = '#494949',
147 -- The default background color
148 background = '#e3e3e3',
150 -- Overrides the cell background color when the current cell is occupied by the
151 -- cursor and the cursor style is set to Block
152 cursor_bg = '#d43dd4',
153 -- Overrides the text color when the current cell is occupied by the cursor
154 cursor_fg = '#9170b5',
155 -- Specifies the border color of the cursor when the cursor style is set to Block,
156 -- or the color of the vertical or horizontal bar when the cursor style is set to
157 -- Bar or Underline.
158 cursor_border = '#d43dd4',
160 -- the foreground color of selected text
161 selection_fg = '#494949',
162 -- the background color of selected text
163 selection_bg = '#ae95c8',
165 -- The color of the scrollbar 'thumb'; the portion that represents the current viewport
166 scrollbar_thumb = '#c9c9c9',
168 -- The color of the split lines between panes
169 split = '#9170b5',
171 ansi = {
172 '#060406',
173 '#4a081f',
174 '#668355',
175 '#55493d',
176 '#280845',
177 '#450845',
178 '#4e4f51',
179 '#838383',
180 },
182 brights = {
183 '#595959',
184 '#961134',
185 '#60624c',
186 '#bb9647',
187 '#481091',
188 '#901090',
189 '#6599b1',
190 '#b6a1b4',
191 },
193 -- Since: 20220319-142410-0fcdea07
194 -- When the IME, a dead key or a leader key are being processed and are effectively
195 -- holding input pending the result of input composition, change the cursor
196 -- to this color to give a visual cue about the compose state.
197 compose_cursor = '#646464',
198 -- Colors for copy_mode and quick_select
199 -- available since: 20220807-113146-c2fee766
200 -- In copy_mode, the color of the active text is:
201 -- 1. copy_mode_active_highlight_* if additional text was selected using the mouse
202 -- 2. selection_* otherwise
203 copy_mode_active_highlight_bg = { Color = '#9170b5' },
204 copy_mode_active_highlight_fg = { Color = '#494949' },
205 copy_mode_inactive_highlight_bg = { Color = '#c9c9c9' },
206 copy_mode_inactive_highlight_fg = { Color = '#878787' },
208 quick_select_label_bg = { Color = '#9170b5' },
209 quick_select_label_fg = { Color = '#494949' },
210 quick_select_match_bg = { Color = '#ae95c8' },
211 quick_select_match_fg = { Color = '#494949' },
213 tab_bar = {
214 -- The color of the strip that goes along the top of the window
215 -- does not apply when fancy tab bar is in use
216 background = '#c7c7c7',
218 -- The active tab is the one that has focus in the window
219 active_tab = {
220 -- The color of the background area for the tab
221 bg_color = '#c7c7c7',
222 -- The color of the text for the tab
223 fg_color = '#9170b5',
225 -- Specify whether you want 'Half', 'Normal' or 'Bold' intensity for the
226 -- label shown for this tab.
227 -- The default is 'Normal'
228 intensity = 'Bold',
230 -- Specify whether you want 'None', 'Single' or 'Double' underline for
231 -- label shown for this tab.
232 -- The default is 'None'
233 underline = 'Double',
235 -- Specify whether you want the text to be italic or not
236 -- for this tab. The default is false.
237 italic = false,
239 -- Specify whether you want the text to be rendered with strikethrough
240 -- or not for this tab. The default is false.
241 strikethrough = false,
242 },
244 -- Inactive tabs are the tabs that do not have focus
245 inactive_tab = {
246 bg_color = '#c7c7c7',
247 fg_color = '#929292',
248 intensity = 'Normal',
250 -- The same options that were listed under the `active_tab` section above
251 -- can also be used for `inactive_tab`.
252 },
254 -- You can configure some alternate styling when the mouse pointer
255 -- moves over inactive tabs
256 inactive_tab_hover = {
257 bg_color = '#646464',
258 fg_color = '#929292',
259 italic = true,
261 -- The same options that were listed under the `active_tab` section above
262 -- can also be used for `inactive_tab_hover`.
263 },
265 -- The new tab button that let you create new tabs
266 new_tab = {
267 bg_color = '#c7c7c7',
268 fg_color = '#c9c9c9',
270 -- The same options that were listed under the `active_tab` section above
271 -- can also be used for `new_tab`.
272 },
274 -- You can configure some alternate styling when the mouse pointer
275 -- moves over the new tab button
276 new_tab_hover = {
277 bg_color = '#646464',
278 fg_color = '#929292',
279 italic = true,
281 -- The same options that were listed under the `active_tab` section above
282 -- can also be used for `new_tab_hover`.
283 },
284 },
111 compose_cursor = '#85c6d6',
112 visual_bell = '#9e92cf',
285113 },
286114 }No final newline