mirror of https://github.com/sgoudham/nvim.git
fix (speed): #94 - made init nvim file less obnoxious
parent
8373177b1f
commit
bfb61dc45c
@ -1,17 +1,3 @@
|
|||||||
" GPL-3.0 License
|
|
||||||
|
|
||||||
" prevent the plugin's interface from loading twice
|
|
||||||
if exists('g:loaded_catppuccin') | finish | endif
|
if exists('g:loaded_catppuccin') | 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'catppuccin.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_catppuccin = 1
|
let g:loaded_catppuccin = 1
|
||||||
|
Loading…
Reference in New Issue