summaryrefslogtreecommitdiff
path: root/nvim/init.lua
blob: 988f88a4ee514a5dcfd0bb8dabe4ba48f8c0fb90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local fn = vim.fn
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
if fn.empty(fn.glob(install_path)) > 0 then
	packer_bootstrap =
		fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path })
end

vim.g.mapleader = " "
vim.g.maplocalleader = " "

vim.cmd([[packadd packer.nvim]])

require("options")
require("plugins")
require("keymaps")
require("autocommands")
require("lsp")
require("dap")