summaryrefslogtreecommitdiff
path: root/nvim/init.lua
blob: 0b4705661889de4dd680a1f02d17b7fe5611d0d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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")

vim.cmd([[colorscheme moonfly]])