Files
nvim-config/init.lua
SepehrYahyaee 8b25fb90bf First version
2026-04-13 13:41:22 +03:30

30 lines
670 B
Lua

vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
require('user.cursor')
require('user.keymaps')
require('user.options')
vim.opt.termguicolors = true
-- Plugin manager: https://github.com/folke/lazy.nvim
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
if not (vim.uv or vim.loop).fs_stat(lazypath) then
vim.fn.system({
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable',
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup('plugins', {
install = { colorscheme = { 'lgwtdark', 'habamax' } },
checker = { enabled = false },
})
vim.cmd.colorscheme('lgwtdark')