|
@ -3,6 +3,7 @@ filetype on |
|
|
syntax on |
|
|
syntax on |
|
|
|
|
|
|
|
|
set nocompatible hidden laststatus=2 |
|
|
set nocompatible hidden laststatus=2 |
|
|
|
|
|
set backspace=indent,eol,start |
|
|
|
|
|
|
|
|
let g:mapleader=" " |
|
|
let g:mapleader=" " |
|
|
let g:just_installed = 0 |
|
|
let g:just_installed = 0 |
|
@ -49,7 +50,12 @@ if g:just_installed == 1 |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|
call plug#begin() |
|
|
call plug#begin() |
|
|
Plug 'junegunn/seoul256.vim' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if has('termguicolors') |
|
|
|
|
|
Plug 'catppuccin/vim' |
|
|
|
|
|
else |
|
|
|
|
|
Plug 'junegunn/seoul256.vim' |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
Plug 'prabirshrestha/asyncomplete.vim' |
|
|
Plug 'prabirshrestha/asyncomplete.vim' |
|
|
Plug 'prabirshrestha/vim-lsp' |
|
|
Plug 'prabirshrestha/vim-lsp' |
|
@ -168,15 +174,22 @@ endif |
|
|
|
|
|
|
|
|
" Goyo and themes |
|
|
" Goyo and themes |
|
|
|
|
|
|
|
|
let g:seoul256_background = 234 |
|
|
|
|
|
set termguicolors |
|
|
|
|
|
set background=dark |
|
|
|
|
|
colorscheme seoul256 |
|
|
|
|
|
|
|
|
if has('termguicolors') |
|
|
|
|
|
set termguicolors |
|
|
|
|
|
set background=dark |
|
|
|
|
|
colorscheme catppuccin_mocha |
|
|
|
|
|
let g:airline_theme = "catppuccin_mocha" |
|
|
|
|
|
else |
|
|
|
|
|
echo 'no termguicolors, falling back to seoul256' |
|
|
|
|
|
let g:seoul256_background = 234 |
|
|
|
|
|
let g:airline_theme = "seoul256" |
|
|
|
|
|
set background=dark |
|
|
|
|
|
colorscheme seoul256 |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
autocmd! User GoyoEnter Limelight |
|
|
autocmd! User GoyoEnter Limelight |
|
|
autocmd! User GoyoLeave Limelight! |
|
|
autocmd! User GoyoLeave Limelight! |
|
|
|
|
|
|
|
|
let g:airline_theme = "seoul256" |
|
|
|
|
|
|
|
|
|
|
|
let g:airline_powerline_fonts = 1 |
|
|
let g:airline_powerline_fonts = 1 |
|
|
let g:airline#extensions#tabline#enabled = 1 |
|
|
let g:airline#extensions#tabline#enabled = 1 |
|
@ -242,7 +255,7 @@ if executable('texlab') |
|
|
autocmd User lsp_setup call lsp#register_server({ |
|
|
autocmd User lsp_setup call lsp#register_server({ |
|
|
\'name': 'texlab', |
|
|
\'name': 'texlab', |
|
|
\'cmd': {server_info->['texlab']}, |
|
|
\'cmd': {server_info->['texlab']}, |
|
|
\'whitelist': ['tex'] |
|
|
|
|
|
|
|
|
\'whitelist': ['tex', 'bib'] |
|
|
\}) |
|
|
\}) |
|
|
endif |
|
|
endif |
|
|
|
|
|
|
|
|