From 8da8cc48ad2664172bfc47582eebe159ef3cf00c Mon Sep 17 00:00:00 2001 From: Juni Kim Date: Wed, 15 Feb 2023 14:48:57 -0500 Subject: [PATCH] additional colorschemes --- lsp.vimrc | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/lsp.vimrc b/lsp.vimrc index 510de3d..1efd027 100644 --- a/lsp.vimrc +++ b/lsp.vimrc @@ -52,8 +52,13 @@ endif call plug#begin() Plug 'catppuccin/vim' +Plug 'lifepillar/vim-solarized8' +Plug 'morhetz/gruvbox' Plug 'junegunn/seoul256.vim' +Plug 'junegunn/fzf' +Plug 'junegunn/fzf.vim' + Plug 'prabirshrestha/vim-lsp' Plug 'mattn/vim-lsp-settings' Plug 'prabirshrestha/asyncomplete.vim' @@ -174,13 +179,32 @@ endif " Goyo and themes -function Catppuccin() +function! Catppuccin() + set background=dark + colorscheme catppuccin_frappe + let g:airline_theme = "catppuccin_frappe" +endfu + +function! SolarizedLight() + colorscheme solarized8 + set background=light + let g:airline_theme = "solarized" +endfu + +function! SolarizedDark() + colorscheme solarized8 set background=dark - colorscheme catppuccin_mocha - let g:airline_theme = "catppuccin_mocha" + let g:airline_theme = "solarized" + let g:airline_solarized_bg='dark' endfu -function Seoul256() +function! Gruvbox() + set background=dark + colorscheme gruvbox + let g:airline_theme = "gruvbox" +endfu + +function! Seoul256() let g:seoul256_background = 234 let g:airline_theme = "seoul256" set background=dark @@ -189,9 +213,9 @@ endfu if has('termguicolors') set termguicolors - call Catppuccin() let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" + call Gruvbox() else call Seoul256() endif @@ -206,6 +230,9 @@ let g:airline#extensions#tabline#enabled = 1 nnoremap z :Goyo nnoremap gs :Git +nnoremap ff :Files +nnoremap :GFiles + " lsp set cot+=preview @@ -233,6 +260,9 @@ if exists('*prop_add') && has('patch-9.0.0178') let g:lsp_diagnostics_virtual_text_enabled = 1 let g:lsp_diagnostics_virtual_text_align = "after" let g:lsp_diagnostics_virtual_text_padding_left = 5 +else + let g:lsp_diagnostics_float_cursor = 1 + let g:lsp_diagnostics_float_delay = 1 endif augroup lsp_install