-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
84 lines (64 loc) · 1.97 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
require("core.keymaps")
require("core.options")
require("core.appearance")
-- [[ Install `lazy.nvim` plugin manager ]]
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
error("Error cloning lazy.nvim:\n" .. out)
end
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
-- NOTE: ## MANAGER
--
-- Portable package manager
require("plugins.mason"),
-- NOTE: ## CODE QUALITY
--
require("plugins.treesitter"),
-- NOTE: ## PRODUCTIVITY & EDITING ENHANCEMENTS
--
-- Collection of independent Lua modules
require("plugins.mini-nvim"),
-- Shows available keybindings in a popup as you type
require("plugins.which-key"),
-- A collection of small QoL pluins for Neovim
require("plugins.snacks"),
-- nvim-cmp, this is required for Mason LSP
require("plugins.autocompletion"),
-- Add/change/delete surrounding delimiter pairs with ease.
require("plugins.surround"),
-- Code formatter
require("plugins.formatter"),
-- Auto pair tags (required treesitter)
require("plugins.ts-autotag"),
require("plugins.multicursor"),
-- NOTE: ## NAVIGATION
--
-- Fuzzy Finder
require("plugins.telescope"),
-- NOTE: ## GIT & VERSION CONTROL
--
-- Git integration for buffers
require("plugins.gitsigns"),
-- NOTE: ## UI & APPEARANCE
--
-- Buffer/tab management
require("plugins.bufferline"),
-- Status line
require("plugins.lualine"),
-- Highlight, list and search todo comments in your projects
require("plugins.todo"),
-- Color highlighter
require("plugins.colorizer"),
-- plugin to help easily manage multiple terminal windows
require("plugins.toggleterm"),
-- -- -- Open HTML in Browser (cross-platform) -- -- --
-- NOTE: ## GAMES
--
-- smol game to make you better with vim
require("plugins.vimbegood"),
})