neovim conf based on kickstart.nvim
1local M = {}
2
3function M.setup()
4 require('base16-colorscheme').setup {
5 -- Background tones
6 base00 = '#191306', -- Default Background
7 base01 = '#261f11', -- Lighter Background (status bars)
8 base02 = '#30291a', -- Selection Background
9 base03 = '#a08f6e', -- Comments, Invisibles
10 -- Foreground tones
11 base04 = '#d7c4a0', -- Dark Foreground (status bars)
12 base05 = '#efe1ca', -- Default Foreground
13 base06 = '#efe1ca', -- Light Foreground
14 base07 = '#efe1ca', -- Lightest Foreground
15 -- Accent colors
16 base08 = '#ffb4ab', -- Variables, XML Tags, Errors
17 base09 = '#e8c26c', -- Integers, Constants
18 base0A = '#ffb59d', -- Classes, Search Background
19 base0B = '#ffb59d', -- Strings, Diff Inserted
20 base0C = '#e8c26c', -- Regex, Escape Chars
21 base0D = '#ffb59d', -- Functions, Methods
22 base0E = '#ffb59d', -- Keywords, Storage
23 base0F = '#93000a', -- Deprecated, Embedded Tags
24 }
25end
26
27-- Register a signal handler for SIGUSR1 (matugen updates)
28local signal = vim.uv.new_signal()
29signal:start(
30 'sigusr1',
31 vim.schedule_wrap(function()
32 package.loaded['matugen'] = nil
33 require('matugen').setup()
34 end)
35)
36
37return M