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.
nvim/plugin/cpcmds.vim

18 lines
446 B
VimL

" GPL-3.0 License
" prevent the plugin's interface from loading twice
if exists('g:loaded_catppuccino') | finish | endif
let s:save_cpo = &cpo " save user coptions
set cpo&vim " reset them to defaults
" Interface {{{
command! -nargs=0 CPClear call v:lua.require'catppuccino.main'.main('clear')
" }}}
let &cpo = s:save_cpo " restore after
unlet s:save_cpo
" set to true the var that controls the plugin's loading
let g:loaded_catppuccino = 1