First commit

This commit is contained in:
2023-12-20 18:35:25 +01:00
commit c39e13a353
7 changed files with 231 additions and 0 deletions

2
lua/core/init.lua Normal file
View File

@@ -0,0 +1,2 @@
require("core.keymap")
require("core.options")

1
lua/core/keymap.lua Normal file
View File

@@ -0,0 +1 @@
print "toto"

1
lua/core/options.lua Normal file
View File

@@ -0,0 +1 @@
vim.opt.termguicolors = true

24
lua/lazy/init.lua Normal file
View File

@@ -0,0 +1,24 @@
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)
opts = {
install = {
colorsheme = { "onedark" },
},
checker = {
enabled = true,
notify = false,
},
}
require("lazy").setup("lazy.plugins", opts)

View File

@@ -0,0 +1,10 @@
function conf()
require('onedark').load()
end
return {
"navarasu/onedark.nvim",
lazy=false,
priority = 1000,
config = conf
}