forked from dam9000/kickstart-modular.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.lua
41 lines (31 loc) · 1.07 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
-- 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 ]]
-- This will call setup for LazyVim on all lua files in lua/plugins/. It merges all the tables in those files into one table and installs all the plugins.
-- For more info see https://github.com/folke/lazy.nvim#-structuring-your-plugins
require("lazy").setup("plugins")
-- [[ Setting options ]]
require 'options'
-- [[ Basic Keymaps ]]
require 'keymaps'
-- [[ Configure Telescope ]]
-- (fuzzy finder)
require 'telescope-setup'
-- [[ Configure Treesitter ]]
-- (syntax parser for highlighting)
require 'treesitter-setup'
-- [[ Configure LSP ]]
-- (Language Server Protocol)
require 'lsp-setup'
-- [[ Configure nvim-cmp ]]
-- (completion)
require 'cmp-setup'
-- Import custom commands
require 'commands'
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et