26 lines
707 B
Lua
26 lines
707 B
Lua
|
|
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)
|
|
vim.g.mapleader = " "
|
|
|
|
ops = {} -- see https://github.com/folke/lazy.nvim#%EF%B8%8F-configuration
|
|
|
|
require("lazy").setup("plugins", opts)
|
|
|
|
vim.o.expandtab = true -- expand tab input with spaces characters
|
|
vim.o.smartindent = true -- syntax aware indentations for newline inserts
|
|
vim.o.tabstop = 4 -- num of space characters per tab
|
|
vim.o.shiftwidth = 4 -- spaces per indentation level
|
|
|
|
|