-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathinit.c
39 lines (38 loc) · 1005 Bytes
/
init.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "nvim.h"
int luaopen_init(lua_State *L) {
char *lazypath = concat_str(get_xdg_home(1), "/lazy/lazy.nvim/");
if (os_isdir(lazypath) == false) {
system(concat_str("git clone --filter=blob:none "
"https://github.com/folke/lazy.nvim.git --branch=stable ",
lazypath));
}
opt("runtimepath", runtimepath_default(false), lazypath);
// clang-format off
require_setup("lazy", LUA_TABLE(
{
spec = {
{
'catppuccin/nvim',
name = 'catppuccin',
opts = {
color_overrides = {
mocha = {
base = '#000000',
mantle = '#000000',
crust = '#000000',
},
},
}
},
{
'LazyVim/LazyVim',
import = 'lazyvim.plugins',
opts = { colorscheme = 'catppuccin' }
}
},
install = {
colorscheme = { 'catppuccin' }
}
}));
return 1;
}