nvim/lua/plugins/init.lua

86 lines
1.7 KiB
Lua
Raw Normal View History

2025-01-29 23:12:22 +01:00
return {
2024-01-06 23:32:05 +01:00
{
2025-01-29 23:12:22 +01:00
"stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save
opts = require "configs.conform",
2024-01-06 23:32:05 +01:00
},
2025-01-29 23:12:22 +01:00
-- These are some examples, uncomment them if you want to see them work!
2024-01-06 23:32:05 +01:00
{
"neovim/nvim-lspconfig",
config = function()
2025-01-29 23:12:22 +01:00
require "configs.lspconfig"
2024-01-06 23:32:05 +01:00
end,
},
{
"nvimtools/none-ls.nvim",
ft = "go",
opts = function ()
return require "configs.none-ls"
end,
},
{
"williamboman/mason.nvim",
opts = {
ensure_installed = {
"gopls",
"pyright",
"typescript-language-server",
"tailwindcss-language-server",
"prettierd",
"eslint-lsp",
}
}
},
2024-01-06 23:32:05 +01:00
{
2025-01-29 23:12:22 +01:00
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"vim",
"lua",
"vimdoc",
"html",
"css",
"typescript",
"go",
"rust",
"python",
"tsx"
2025-01-29 23:12:22 +01:00
},
},
2024-01-06 23:32:05 +01:00
},
{
"ray-x/go.nvim",
config = function()
require("go").setup()
end,
event = {"CmdlineEnter"},
ft = {"go", 'gomod'},
build = ':lua require("go.install").update_all_sync()' -- if you need to install/update all binaries
},
{
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
}
},
2024-01-06 23:32:05 +01:00
}