mirror of https://github.com/sgoudham/nvim.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
443 B
VimL
18 lines
443 B
VimL
3 years ago
|
" GPL-3.0 License
|
||
|
|
||
|
" prevent the plugin's interface from loading twice
|
||
3 years ago
|
if exists('g:loaded_catppuccin') | finish | endif
|
||
3 years ago
|
|
||
|
let s:save_cpo = &cpo " save user coptions
|
||
|
set cpo&vim " reset them to defaults
|
||
|
|
||
|
" Interface {{{
|
||
3 years ago
|
command! -nargs=0 CPClear call v:lua.require'catppuccin.main'.main('clear')
|
||
3 years ago
|
" }}}
|
||
|
|
||
|
let &cpo = s:save_cpo " restore after
|
||
|
unlet s:save_cpo
|
||
|
|
||
|
" set to true the var that controls the plugin's loading
|
||
3 years ago
|
let g:loaded_catppuccin = 1
|