dot_files/.config/nvim/init.lua

29 lines
741 B
Lua
Raw Normal View History

2024-03-18 10:51:30 +00:00
2024-06-01 22:17:37 +00:00
vim.o.termguicolors=true
2024-03-18 10:51:30 +00:00
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 = " "
2024-06-01 22:17:37 +00:00
local opts = {} -- see https://github.com/folke/lazy.nvim#%EF%B8%8F-configuration
2024-03-18 10:51:30 +00:00
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