-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
executable file
·81 lines (75 loc) · 2.04 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
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)
--Load plugins
require("plugins")
--Load setups
-- Loads settings native to Neovim
require("setups/native")
-- Sets up the Dracula plugin and loads it as theme
require("setups/dracula")
-- File tree
require("setups/neo-tree")
-- Fuzzy finder
require("setups/telescope")
-- Pretty blankline lines
require("setups/indent-blankline")
-- Treesitter, syntax stuff
require("setups/treesitter")
-- Comment toggler
require("setups/nvim-comment")
--THE ORDER OF THE THINGS IN THE FOLLOWING BLOCK IS IMPORTANT
-- Completeion engine for LSP servers
require("setups/lsp/nvim-cmp")
-- Package manager for language servers etc
require("setups/lsp/mason")
-- LSP configurator
require("setups/lsp/mason-lspconfig")
-- Lsp window configuration
require("setups/lsp/lspconfig")
-- pretty lsp menus n shit
require("setups/lsp/lspsaga")
-- pretty lsp stuff
require("setups/lsp/lspkind")
-- buffer bar
require("setups/bufferline")
-- heirline, for the true heir
require("setups/heirline")
-- symbol outline, for going places
require("setups/lsp/symbols-outline")
-- git stuff for heirline
require("setups/gitsigns")
-- nvim dap
require("setups/lsp/nvim-dap")
-- flash, for moving better
require("setups/flash")
-- for fancy java stuff
-- require("setups/lsp/jdtls")
--Load keybinds
-- Native
require("keybinds/native")
-- File tree
require("keybinds/neo-tree")
-- Fuzzy finder
require("keybinds/telescope")
-- lsp keybinds
require("keybinds/lsp/lspconfig")
-- pretty lsp menus n shit
require("keybinds/lsp/lspsaga")
-- bufferline keybinds
require("keybinds/bufferline")
-- symbols outline keybinds
require("keybinds/lsp/symbols-outline")
-- flash, for moving around faster
require("keybinds/flash")
-- dap, for debugging
require("keybinds/lsp/nvim-dap")