formatting
This commit is contained in:
parent
3c84ec54bf
commit
452abf2029
25 changed files with 635 additions and 536 deletions
35
init.lua
35
init.lua
|
@ -1,29 +1,28 @@
|
|||
require "options"
|
||||
require "keymaps"
|
||||
require("options")
|
||||
require("keymaps")
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
local output = vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
if vim.api.nvim_get_vvar "shell_error" ~= 0 then
|
||||
vim.api.nvim_err_writeln("Error cloning lazy.nvim repository...\n\n" .. output)
|
||||
end
|
||||
local output = vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
if vim.api.nvim_get_vvar("shell_error") ~= 0 then
|
||||
vim.api.nvim_err_writeln("Error cloning lazy.nvim repository...\n\n" .. output)
|
||||
end
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup("plugins", {
|
||||
change_detection = {
|
||||
enabled = false,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
vim.cmd 'colorscheme material'
|
||||
require "tools"
|
||||
require "autocommands"
|
||||
|
||||
vim.cmd("colorscheme material")
|
||||
require("tools")
|
||||
require("autocommands")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue