Move neovim dotfiles
This commit is contained in:
parent
bfc89aff7f
commit
a5eae4da13
78 changed files with 3 additions and 5 deletions
home/features/neovim/config
21
home/features/neovim/config/init.lua
Normal file
21
home/features/neovim/config/init.lua
Normal file
|
@ -0,0 +1,21 @@
|
|||
-- enable experimental lua loader
|
||||
vim.loader.enable()
|
||||
|
||||
-- bootstrap from github
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"--single-branch",
|
||||
"git@github.com:folke/lazy.nvim.git",
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
|
||||
vim.opt.runtimepath:prepend(lazypath)
|
||||
|
||||
-- Start the actual init process
|
||||
require("my.init").setup()
|
Loading…
Add table
Add a link
Reference in a new issue