Move configuration to core
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 2m58s
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 2m58s
This commit is contained in:
@@ -1,22 +1,2 @@
|
|||||||
-- Basic setup configuration
|
-- Just load core on non nixos systems
|
||||||
require("vanilla")
|
require("core")
|
||||||
|
|
||||||
vim.cmd("source ~/.config/nvim/viml/automacro.vim")
|
|
||||||
|
|
||||||
-- Lazy plugin setup
|
|
||||||
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",
|
|
||||||
"https://github.com/folke/lazy.nvim.git",
|
|
||||||
"--branch=stable", -- latest stable release
|
|
||||||
lazypath,
|
|
||||||
})
|
|
||||||
end
|
|
||||||
vim.opt.rtp:prepend(lazypath)
|
|
||||||
|
|
||||||
require("lazy").setup("plugins")
|
|
||||||
|
|
||||||
require("plugconfig")
|
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
-- Basic setup configuration
|
||||||
|
require("vanilla")
|
||||||
|
|
||||||
|
vim.cmd("source ~/.config/nvim/viml/automacro.vim")
|
||||||
|
|
||||||
|
-- Lazy plugin setup
|
||||||
|
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",
|
||||||
|
"https://github.com/folke/lazy.nvim.git",
|
||||||
|
"--branch=stable", -- latest stable release
|
||||||
|
lazypath,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
require("lazy").setup("plugins")
|
||||||
|
|
||||||
|
require("plugconfig")
|
||||||
Reference in New Issue
Block a user