feat: add minimal config

This commit is contained in:
2024-03-14 22:32:16 -04:00
parent a21ec7417b
commit afcfe84556

37
.github/config.lua vendored Normal file
View File

@@ -0,0 +1,37 @@
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",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{
"tiagovla/tokyodark.nvim",
config = function()
require("tokyodark").setup()
require("tokyodark").colorscheme()
end,
},
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local treesitter = require("nvim-treesitter.configs")
treesitter.setup({
ensure_installed = "all",
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
})
end,
},
})