dotfiles/config/nvim/lua/plugins/init.lua

140 lines
3.0 KiB
Lua
Raw Permalink Normal View History

return {
2025-01-28 17:20:49 +01:00
{ "MagickDuck/grug-far.nvim", enabled = false },
{ "catppuccin/nvim", enabled = false },
{ "folke/persistence.nvim", enabled = false },
{ "folke/todo-comments.nvim", enabled = false },
{ "folke/tokyonight.nvim", enabled = false },
{ "folke/trouble.nvim", enabled = false },
{ "windwp/nvim-ts-autotag", enabled = false },
2024-11-03 16:35:36 +01:00
{
2025-01-28 17:20:49 +01:00
"folke/snacks.nvim",
opts = {
dashboard = { enabled = false },
2024-11-03 16:35:36 +01:00
},
keys = {
{
"<leader>n",
function()
vim.cmd("set number!")
vim.cmd('execute "set signcolumn=" . (&signcolumn == "yes" ? "no" : "yes")')
if Snacks.indent.enabled then
Snacks.indent.disable()
else
Snacks.indent.enable()
end
end,
desc = "toggle decorations",
},
},
2025-01-28 17:20:49 +01:00
},
{
"loctvl842/monokai-pro.nvim",
opts = {
filter = "classic",
2024-11-03 16:35:36 +01:00
},
},
2025-01-28 17:20:49 +01:00
{
2025-01-28 17:20:49 +01:00
"LazyVim/LazyVim",
opts = {
colorscheme = "monokai-pro",
},
},
2025-01-28 17:20:49 +01:00
{
2025-01-28 17:20:49 +01:00
"nvim-lualine/lualine.nvim",
opts = {
2025-01-28 17:20:49 +01:00
options = {
theme = "powerline",
section_separators = "",
component_separators = "",
},
sections = {
lualine_c = {
{
"diagnostics",
symbols = {
error = LazyVim.config.icons.diagnostics.Error,
warn = LazyVim.config.icons.diagnostics.Warn,
info = LazyVim.config.icons.diagnostics.Info,
hint = LazyVim.config.icons.diagnostics.Hint,
},
},
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
{ "filename", file_status = true, path = 1 },
},
lualine_x = {
{
"diff",
symbols = {
added = LazyVim.config.icons.git.added,
modified = LazyVim.config.icons.git.modified,
removed = LazyVim.config.icons.git.removed,
},
},
},
lualine_z = {},
},
},
},
{
"nvim-neo-tree/neo-tree.nvim",
keys = {
{
"<leader>e",
function()
require("neo-tree.command").execute({ toggle = true, dir = vim.uv.cwd() })
end,
desc = "explorer (cwd)",
remap = true,
},
{
"<leader>E",
function()
require("neo-tree.command").execute({ toggle = true, dir = LazyVim.root() })
end,
desc = "explorer (root)",
remap = true,
},
},
opts = {
filesystem = {
filtered_items = {
visible = true,
},
},
},
},
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
opts.ensure_installed = {
"bash",
2025-01-28 17:20:49 +01:00
"diff",
"json",
"lua",
"markdown",
"markdown_inline",
"python",
"terraform",
"vim",
2025-01-28 17:20:49 +01:00
}
end,
},
2025-01-28 17:20:49 +01:00
2024-11-03 18:18:35 +01:00
{
2025-01-28 17:20:49 +01:00
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"lua-language-server",
"terraform-ls",
"tflint",
},
},
2024-11-03 18:18:35 +01:00
},
2024-11-03 16:35:36 +01:00
}