First version
This commit is contained in:
29
init.lua
Normal file
29
init.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
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')
|
||||
Reference in New Issue
Block a user