Browse Source

additional colorschemes

master
Juni Kim 2 years ago
parent
commit
8da8cc48ad
  1. 40
      lsp.vimrc

40
lsp.vimrc

@ -52,8 +52,13 @@ endif
call plug#begin() call plug#begin()
Plug 'catppuccin/vim' Plug 'catppuccin/vim'
Plug 'lifepillar/vim-solarized8'
Plug 'morhetz/gruvbox'
Plug 'junegunn/seoul256.vim' Plug 'junegunn/seoul256.vim'
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
Plug 'prabirshrestha/vim-lsp' Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings' Plug 'mattn/vim-lsp-settings'
Plug 'prabirshrestha/asyncomplete.vim' Plug 'prabirshrestha/asyncomplete.vim'
@ -174,13 +179,32 @@ endif
" Goyo and themes " 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 set background=dark
colorscheme catppuccin_mocha
let g:airline_theme = "catppuccin_mocha"
let g:airline_theme = "solarized"
let g:airline_solarized_bg='dark'
endfu 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:seoul256_background = 234
let g:airline_theme = "seoul256" let g:airline_theme = "seoul256"
set background=dark set background=dark
@ -189,9 +213,9 @@ endfu
if has('termguicolors') if has('termguicolors')
set termguicolors set termguicolors
call Catppuccin()
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
call Gruvbox()
else else
call Seoul256() call Seoul256()
endif endif
@ -206,6 +230,9 @@ let g:airline#extensions#tabline#enabled = 1
nnoremap <leader>z :Goyo <CR> nnoremap <leader>z :Goyo <CR>
nnoremap <leader>gs :Git <CR> nnoremap <leader>gs :Git <CR>
nnoremap <leader>ff :Files<CR>
nnoremap <C-p> :GFiles<CR>
" lsp " lsp
set cot+=preview 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_enabled = 1
let g:lsp_diagnostics_virtual_text_align = "after" let g:lsp_diagnostics_virtual_text_align = "after"
let g:lsp_diagnostics_virtual_text_padding_left = 5 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 endif
augroup lsp_install augroup lsp_install

Loading…
Cancel
Save