summaryrefslogtreecommitdiff
path: root/nvim/init.lua
blob: 87914ff22bcb0b52b8fa274f09a239ec6ea1f730 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 'keymaps'
require 'autocommands'
require 'plugins'
require 'lsp'