-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
42 lines (34 loc) · 1017 Bytes
/
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
--[[
=====================================================================
============================= NVIM CONFIG ===========================
=====================================================================
--]]
-- Set <space> as the leader key
-- See `:help mapleader`
-- NOTE: Must happen before plugins are required (otherwise wrong leader will be used)
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- Install `lazy.nvim` plugin manager
require 'lazy-bootstrap'
-- Configure plugins
require 'lazy-plugins'
-- Setting options
require 'options'
-- Basic Keymaps
require 'keymaps'
--list of filenames of plugin configuration files found in
local plugin_configs = {
--config telescope
"telescope",
--config treesitter
"treesitter",
--config lsp
"lsp",
--config cmp
"cmp"
};
for _, plugin_config in pairs(plugin_configs) do
require("plugin-config." .. plugin_config);
end
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et