-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathinit.lua
More file actions
89 lines (84 loc) · 2.08 KB
/
init.lua
File metadata and controls
89 lines (84 loc) · 2.08 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
vim.g.mapleader = ','
vim.g.maplocalleader = ','
_G.global = {}
_G.global.float_border_opts = { border = 'rounded', focusable = false, scope = 'line' }
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',
'--single-branch',
'https://github.com/folke/lazy.nvim.git',
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
require('lazy').setup({
spec = {
{ import = 'plugins' },
---@type LazyPluginSpec
{
'neovim/nvim-lspconfig',
dependencies = {
'b0o/SchemaStore.nvim',
},
event = { 'BufReadPre', 'BufNewFile' },
},
{
'mbbill/undotree',
keys = {
{
'<leader>U',
'<cmd>UndotreeToggle<cr>',
desc = 'Toggles undotree',
},
},
},
{
'kylechui/nvim-surround',
event = 'VeryLazy',
},
---@type LazyPluginSpec
{
'HiPhish/rainbow-delimiters.nvim',
event = 'VeryLazy',
},
---@type LazyPluginSpec
{
'nvzone/typr',
dependencies = 'nvzone/volt',
opts = {},
cmd = { 'Typr', 'TyprStats' },
},
{
'DrKJeff16/wezterm-types',
version = false, -- Get the latest version
},
},
defaults = {
lazy = true,
version = false,
},
install = {
missing = true,
colorscheme = { 'catppuccin' },
},
checker = { enabled = true },
performance = {
rtp = {
disabled_plugins = {
'gzip',
'matchit',
'matchparen',
'netrwPlugin',
'tarPlugin',
'tohtml',
'tutor',
'zipPlugin',
},
},
},
ui = { border = 'rounded' },
})
require('config')