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
428 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! CPLoad lua require'catppuccino.main'.main('load')
" }}}
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