initial commit

This commit is contained in:
Jannik Donker
2024-04-06 18:31:40 +02:00
commit 527d184422
8 changed files with 90 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
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", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("vim-options")
require("lazy").setup("plugins")
+11
View File
@@ -0,0 +1,11 @@
{
"catppuccin": { "branch": "main", "commit": "aebe43db9cb26e1c70fc5b2fd4158169c405e720" },
"lazy.nvim": { "branch": "main", "commit": "31ddbea7c10b6920c9077b66c97951ca8682d5c8" },
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "16d1b194376bf1fc2acd89ccb3c29ba8315bfcea" },
"nui.nvim": { "branch": "main", "commit": "cbd2668414331c10039278f558630ed19b93e69b" },
"nvim-treesitter": { "branch": "master", "commit": "a2d6678bb21052013d0dd7cb35dffbac13846c98" },
"nvim-web-devicons": { "branch": "master", "commit": "e2e3475c7bffbafbda19df2be6ffd04f6d1a3e16" },
"plenary.nvim": { "branch": "master", "commit": "8aad4396840be7fc42896e3011751b7609ca4119" },
"telescope.nvim": { "branch": "master", "commit": "6312868392331c9c0f22725041f1ec2bef57c751" }
}
+10
View File
@@ -0,0 +1,10 @@
return {
"catppuccin/nvim",
name = "catppuccin",
lazy = false,
priority = 1000,
config = function()
vim.cmd.colorscheme "catppuccin-mocha"
end
}
+11
View File
@@ -0,0 +1,11 @@
return {
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
config = function ()
require("lualine").setup({
options = {
theme = "dracula"
}
})
end
}
+9
View File
@@ -0,0 +1,9 @@
return {
{"nvim-neo-tree/neo-tree.nvim", branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
}
}
}
+12
View File
@@ -0,0 +1,12 @@
return {
"nvim-telescope/telescope.nvim",
tag = "0.1.6",
dependencies = {
"vim-lua/plenary.nvim"
},
config = function()
local builtin = require("telescope.builtin")
vim.keymap.set("n", "<C-f>", builtin.find_files, {})
vim.keymap.set("n", "<C-g>", builtin.live_grep, {})
end
}
+14
View File
@@ -0,0 +1,14 @@
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local configs = require("nvim-treesitter.configs")
vim.keymap.set("n", "<C-t>", ":Neotree toggle<CR>")
configs.setup({
ensure_installed = {"lua", "javascript", "html", "css", "rust", "typescript", "python"},
highlight = { enable = true },
indent = { enable = true },
})
end
}
+6
View File
@@ -0,0 +1,6 @@
vim.cmd("set tabstop=4")
vim.cmd("set shiftwidth=4")
vim.wo.relativenumber = true
vim.g.mapleader = ","