Fix nvim color scheme being different from system

This commit is contained in:
Geoffrey Frogeye 2023-12-05 20:57:05 +01:00
parent f12ff6a989
commit 56544fe947
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
4 changed files with 30 additions and 40 deletions

View file

@ -2,32 +2,30 @@ vim.cmd([[
set noshowmode
set laststatus=2
]])
-- local base16_colors = require('base16-colorscheme').colors
-- FIXME Color setting doesn't work, see ./feline_test.vim for a reproducible use case
-- that works on Arch but not on Nix (with Plug stuff removed)
local base16_colors = require('base16-colorscheme').colors
local vi_mode_utils = require('feline.providers.vi_mode')
local lsp = require('feline.providers.lsp')
require('feline').setup({
-- default_bg = 'base01',
-- default_fg = 'base04',
-- theme = {
-- base00 = base16_colors.base00,
-- base01 = base16_colors.base01,
-- base02 = base16_colors.base02,
-- base03 = base16_colors.base03,
-- base04 = base16_colors.base04,
-- base05 = base16_colors.base05,
-- base06 = base16_colors.base06,
-- base07 = base16_colors.base07,
-- base08 = base16_colors.base08,
-- base09 = base16_colors.base09,
-- base0A = base16_colors.base0A,
-- base0B = base16_colors.base0B,
-- base0C = base16_colors.base0C,
-- base0D = base16_colors.base0D,
-- base0E = base16_colors.base0E,
-- base0F = base16_colors.base0F,
-- },
default_bg = 'base01',
default_fg = 'base04',
theme = {
base00 = base16_colors.base00,
base01 = base16_colors.base01,
base02 = base16_colors.base02,
base03 = base16_colors.base03,
base04 = base16_colors.base04,
base05 = base16_colors.base05,
base06 = base16_colors.base06,
base07 = base16_colors.base07,
base08 = base16_colors.base08,
base09 = base16_colors.base09,
base0A = base16_colors.base0A,
base0B = base16_colors.base0B,
base0C = base16_colors.base0C,
base0D = base16_colors.base0D,
base0E = base16_colors.base0E,
base0F = base16_colors.base0F,
},
components = {
active = {
{