vim: configure vim-colors-solarized like other plugins
This commit is contained in:
parent
daa67a6311
commit
dc99e9606f
2 changed files with 16 additions and 8 deletions
11
config/nvim/lua/fs/config/vim-colors-solarized.lua
Normal file
11
config/nvim/lua/fs/config/vim-colors-solarized.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
local config = function()
|
||||
vim.cmd [[
|
||||
silent! colorscheme solarized
|
||||
highlight Normal ctermbg=NONE " transparent background
|
||||
highlight NonText cterm=NONE ctermfg=10 " subtle EOL symbols
|
||||
highlight Whitespace cterm=NONE ctermfg=9 " orange listchars
|
||||
]]
|
||||
end
|
||||
|
||||
return { config = config }
|
||||
|
|
@ -2,11 +2,14 @@ local plugins = function(use)
|
|||
use 'wbthomason/packer.nvim'
|
||||
|
||||
-- Visuals ----------------------------------------------------------------
|
||||
use 'altercation/vim-colors-solarized'
|
||||
use {
|
||||
'altercation/vim-colors-solarized',
|
||||
config = [[require'fs.config.vim-colors-solarized'.config()]],
|
||||
}
|
||||
use 'kyazdani42/nvim-web-devicons'
|
||||
use {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
config = [[require'fs.config.lualine'.config()]]
|
||||
config = [[require'fs.config.lualine'.config()]],
|
||||
}
|
||||
|
||||
-- Navigation -------------------------------------------------------------
|
||||
|
@ -54,12 +57,6 @@ local plugins = function(use)
|
|||
'vim-scripts/srec.vim',
|
||||
config = [[require'fs.config.srec'.config()]],
|
||||
}
|
||||
|
||||
vim.cmd([[
|
||||
silent! colorscheme solarized
|
||||
highlight NonText cterm=NONE ctermfg=10 " subtle EOL symbols
|
||||
highlight Whitespace cterm=NONE ctermfg=9 " orange listchars
|
||||
]])
|
||||
end
|
||||
|
||||
local packer = function()
|
||||
|
|
Loading…
Add table
Reference in a new issue