switch from material and airline to tokyonight and lualine

This commit is contained in:
LavaDesu 2021-07-05 15:03:57 +07:00
parent e2408b449c
commit 294702c330
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -1,12 +1,12 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
vim-material = pkgs.vimUtils.buildVimPlugin { tokyonight-nvim = pkgs.vimUtils.buildVimPlugin {
name = "vim-material"; name = "tokyonight-nvim";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
owner = "hzchirs"; owner = "folke";
repo = "vim-material"; repo = "tokyonight.nvim";
rev = "05461c967b861ef532c44d5348555febac94b0d5"; rev = "0ead86afe390603f9bd688103d7a5fc6724a828e";
sha256 = "1w59zqrx3scqsrg1a43497xybc3m4zm00kwfqpvjfw6qrpk2zb3f"; sha256 = "1l6hscamapmqjn1kc2hrpynwwrljdlp84g27282wfvc2i0kpj884";
}; };
}; };
in { in {
@ -26,9 +26,9 @@ in {
coc-yaml coc-yaml
ctrlp-vim ctrlp-vim
lualine-nvim
nerdtree nerdtree
vim-airline tokyonight-nvim
vim-material
vim-nix vim-nix
vim-repeat vim-repeat
vim-surround vim-surround
@ -55,11 +55,8 @@ in {
set expandtab set expandtab
" theming " theming
hi MatchParen cterm=underline ctermbg=none ctermfg=white let g:tokyonight_style='night'
set termguicolors colorscheme tokyonight
let g:airline_theme='material'
let g:material_style='oceanic'
colorscheme vim-material
" using tab for trigger completion " using tab for trigger completion
function! s:check_back_space() abort function! s:check_back_space() abort
@ -87,9 +84,14 @@ in {
set fcs=eob:\ set fcs=eob:\
lua <<EOF lua <<EOF
require'nvim-treesitter.configs'.setup { require('nvim-treesitter.configs').setup {
highlight = { enable = true } highlight = { enable = true }
} }
require('lualine').setup {
options = {
theme = 'tokyonight'
}
}
EOF EOF
''; '';
}; };