aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/init.lua')
-rw-r--r--nvim/init.lua23
1 files changed, 13 insertions, 10 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index f2fc6dd..dcbd2f8 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -8,24 +8,27 @@ HOSTNAME = vim.uv.os_gethostname()
-- bootstrap lazynvim if not installed
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
- vim.fn.system({
- "git",
- "clone",
- "--filter=blob:none",
- "https://github.com/folke/lazy.nvim.git",
- "--branch=stable", -- latest stable release
- lazypath,
- })
+ vim.fn.system({
+ "git",
+ "clone",
+ "--filter=blob:none",
+ "https://github.com/folke/lazy.nvim.git",
+ "--branch=stable", -- latest stable release
+ lazypath,
+ })
end
vim.opt.rtp:prepend(lazypath)
--- TODO: include local plugins
-- leader
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-require("lazy").setup('plugins')
+require("lazy").setup('plugins', {
+ dev = {
+ path = "~/src"
+ }
+})
require('keymap')