-
Notifications
You must be signed in to change notification settings - Fork 2
/
init.lua
64 lines (61 loc) · 1.89 KB
/
init.lua
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---@diagnostic disable: undefined-global
-- __
-- .-----.-----.-----.--.--.|__|.--------.
-- | | -__| _ | | || || |
-- |__|__|_____|_____|\___/ |__||__|__|__|
--
-- Github: https://github.com/TechnicalDC/NvConf
-- REQUIRED
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- LAZY BOOTSTRAP
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup("plugins", {
install = { colorscheme = { "catppuccin" } },
ui = {
-- a number <1 is a percentage., >1 is a fixed size
size = { width = 0.8, height = 0.8 },
wrap = true, -- wrap the lines in the ui
-- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
border = "rounded",
-- title = " Lazy ", ---@type string only works when border is not "none"
-- title_pos = "center", ---@type "center" | "left" | "right"
-- Show pills on top of the Lazy window
pills = true, ---@type boolean
icons = {
cmd = " ",
config = " ",
event = "",
ft = " ",
init = " ",
import = " ",
keys = " ",
lazy = " ",
loaded = "●",
not_loaded = "○",
plugin = " ",
runtime = " ",
require = " ",
source = " ",
start = "",
task = "✔ ",
list = {
"●",
"➜",
"★",
"‒",
},
}
}
})