Skip to content

Commit

Permalink
Configure solarized theme
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Aug 7, 2023
1 parent 9926338 commit 6a5d4eb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions home/colours.nix
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,18 @@ let
neovim-theme-blocks = {
solarized = ''
set background=light
colorscheme NeoSolarized
highlight Cursor guifg=${themes.solarized.cursor.cursor} guibg=${themes.solarized.cursor.text}
let g:solarized_disable_background = v:true
let g:solarized_italic_comments = v:false
let g:solarized_italic_keywords = v:false
let g:solarized_italic_functions = v:true
let g:solarized_italic_variables = v:false
let g:solarized_contrast = v:false
let g:solarized_borders = v:true
colorscheme solarized
highlight Cursor guifg=${current-theme.cursor.cursor} guibg=${current-theme.cursor.text}
highlight TreesitterContext guibg=${current-theme.normal.white}
'';
github-light = ''
set background=light
Expand Down
1 change: 0 additions & 1 deletion home/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
papercolor-theme
nvim-base16
aerial-nvim
NeoSolarized
# has native plugin so requires nix
telescope-fzf-native-nvim

Expand Down
2 changes: 1 addition & 1 deletion home/nvim/lua/lualineconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local lualine_c = {
lualine.setup({
options = {
icons_enabled = true,
theme = 'auto',
theme = 'solarized',
component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' },
disabled_filetypes = {},
Expand Down
1 change: 1 addition & 0 deletions home/nvim/lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require('packer').startup({
use 'christoomey/vim-tmux-runner'
use 'christoomey/vim-conflicted'
use 'projekt0n/github-nvim-theme'
use 'shaunsingh/solarized.nvim'

-- language plugins
use 'lepture/vim-velocity'
Expand Down

0 comments on commit 6a5d4eb

Please sign in to comment.