Updates nvim setup

This commit is contained in:
Michel 2025-01-19 17:48:28 +01:00
parent 1c38c7b171
commit 6f069d32e1
13 changed files with 285 additions and 4 deletions

View file

@ -0,0 +1,6 @@
return {
"psjay/buffer-closer.nvim",
config = function()
require("buffer-closer").setup()
end,
}

View file

@ -0,0 +1,4 @@
return {
"bullets-vim/bullets.vim",
version = "*"
}

View file

@ -0,0 +1,5 @@
return {
"akinsho/git-conflict.nvim",
version = "*",
config = true,
}

View file

@ -0,0 +1,24 @@
return {
"nvim-neo-tree/neo-tree.nvim",
opts = {
window = {
width = 40,
},
filesystem = {
window = {
mappings = {
["<C-l>"] = function(state)
local node = state.tree:get_node()
if vim.fn.fnamemodify(node.path, ":e") == "opto" then
vim.cmd.Optolith()
return
end
os.execute(string.format('xdg-open "%s" &> /dev/null &', node.path))
end,
},
},
},
},
}

View file

@ -0,0 +1,3 @@
return {
"nvim-neotest/nvim-nio",
}

View file

@ -0,0 +1,21 @@
return {
"epwalsh/obsidian.nvim",
version = "*",
lazy = true,
ft = "markdown",
dependencies = {
-- Required.
"nvim-lua/plenary.nvim",
},
opts = {
ui = {
enable = true,
},
workspaces = {
{
name = "notes",
path = ".",
},
},
},
}

View file

@ -0,0 +1,17 @@
return {
"MeanderingProgrammer/render-markdown.nvim",
dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.nvim" }, -- if you use the mini.nvim suite
opts = {},
config = function()
require("render-markdown").setup({
bullet = {},
anti_conceal = {
enabled = false,
},
preset = "obsidian",
heading = {
position = "inline",
},
})
end,
}

View file

@ -0,0 +1,22 @@
-- since this is just an example spec, don't actually load anything here and return an empty spec
-- stylua: ignore
if false then return {} end
-- every spec file under the "plugins" directory will be loaded automatically by lazy.nvim
--
-- In your plugin files, you can:
-- * add extra plugins
-- * disable/enabled LazyVim plugins
-- * override the configuration of LazyVim plugins
return {
-- add gruvbox
{ "ellisonleao/gruvbox.nvim" },
-- Configure LazyVim to load gruvbox
{
"LazyVim/LazyVim",
opts = {
colorscheme = "gruvbox",
},
},
}