From 294702c3306935986c600f7b2b9e9ce4bfc57eea Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Mon, 5 Jul 2021 15:03:57 +0700 Subject: [PATCH] switch from material and airline to tokyonight and lualine --- users/rin/neovim.nix | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/users/rin/neovim.nix b/users/rin/neovim.nix index b76fdf5..703c4ce 100644 --- a/users/rin/neovim.nix +++ b/users/rin/neovim.nix @@ -1,12 +1,12 @@ { config, pkgs, ... }: let - vim-material = pkgs.vimUtils.buildVimPlugin { - name = "vim-material"; + tokyonight-nvim = pkgs.vimUtils.buildVimPlugin { + name = "tokyonight-nvim"; src = pkgs.fetchFromGitHub { - owner = "hzchirs"; - repo = "vim-material"; - rev = "05461c967b861ef532c44d5348555febac94b0d5"; - sha256 = "1w59zqrx3scqsrg1a43497xybc3m4zm00kwfqpvjfw6qrpk2zb3f"; + owner = "folke"; + repo = "tokyonight.nvim"; + rev = "0ead86afe390603f9bd688103d7a5fc6724a828e"; + sha256 = "1l6hscamapmqjn1kc2hrpynwwrljdlp84g27282wfvc2i0kpj884"; }; }; in { @@ -26,9 +26,9 @@ in { coc-yaml ctrlp-vim + lualine-nvim nerdtree - vim-airline - vim-material + tokyonight-nvim vim-nix vim-repeat vim-surround @@ -55,11 +55,8 @@ in { set expandtab " theming - hi MatchParen cterm=underline ctermbg=none ctermfg=white - set termguicolors - let g:airline_theme='material' - let g:material_style='oceanic' - colorscheme vim-material + let g:tokyonight_style='night' + colorscheme tokyonight " using tab for trigger completion function! s:check_back_space() abort @@ -87,9 +84,14 @@ in { set fcs=eob:\ lua <