dotfiles/nvim/lua/plugins.lua

136 lines
4 KiB
Lua
Raw Normal View History

2023-08-13 21:14:41 +00:00
return {
2023-08-16 16:18:47 +00:00
{
"catppuccin/nvim",
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
2023-08-21 14:31:22 +00:00
name = "catppuccin",
opts = {
flavour = "mocha", -- latte, frappe, macchiato, mocha
transparent_background = false,
dim_inactive = {
enabled = true,
shade = "dark",
percentage = 0.15,
},
integrations = {
cmp = true,
fidget = true,
gitsigns = true,
indent_blankline = {
enabled = true,
colored_indent_levels = false,
},
native_lsp = {
enabled = true,
virtual_text = {
errors = { "italic" },
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
},
},
telescope = true,
treesitter = true,
treesitter_context = true,
},
},
config = function(_LazyPlugin, opts)
require("catppuccin").setup(opts)
vim.cmd.colorscheme "catppuccin"
end
2023-08-16 16:18:47 +00:00
},
2023-08-13 21:14:41 +00:00
{
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
dependencies = {
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
"nvim-lua/plenary.nvim",
2023-07-12 09:59:53 +00:00
}
2023-08-13 21:14:41 +00:00
},
{
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-path",
}
},
{
"nvim-treesitter/nvim-treesitter",
dependencies = {
"nvim-treesitter/nvim-treesitter-context",
"nvim-treesitter/nvim-treesitter-textobjects",
"nvim-treesitter/playground",
2023-08-21 14:31:22 +00:00
},
2023-08-13 21:14:41 +00:00
},
2023-08-16 16:18:47 +00:00
{
"j-hui/fidget.nvim",
tag = "legacy",
event = "LspAttach",
opts = {
window = {
blend = 0,
},
},
},
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {}
},
{
"lukas-reineke/indent-blankline.nvim",
2023-09-11 10:07:17 +00:00
branch = "v3",
config = function()
require("ibl").setup {
scope = { enabled = false }
}
end
2023-08-16 16:18:47 +00:00
},
{
"stevearc/oil.nvim",
2023-09-26 16:04:55 +00:00
tag = "v2.1.0",
2023-08-16 16:18:47 +00:00
opts = {
keymaps = {
["g?"] = "actions.show_help",
["<CR>"] = "actions.select",
["<C-v>"] = "actions.select_vsplit",
["<C-s>"] = "actions.select_split",
["<C-t>"] = "actions.select_tab",
["<C-p>"] = "actions.preview",
["<C-c>"] = "actions.close",
["r"] = "actions.refresh",
["-"] = "actions.parent",
["_"] = "actions.open_cwd",
["`"] = "actions.cd",
["~"] = "actions.tcd",
["g."] = "actions.toggle_hidden",
},
use_default_keymaps = false,
}
},
2023-08-21 14:31:22 +00:00
{
"lewis6991/gitsigns.nvim",
opts = {
current_line_blame = true,
current_line_blame_opts = {
delay = 300,
},
on_attach = require "my.keymaps".gitsigns_keymaps,
}
},
2023-08-16 16:18:47 +00:00
{ "lukas-reineke/lsp-format.nvim", tag = "v2.5.1" },
{ "nvim-tree/nvim-web-devicons", lazy = true },
"L3MON4D3/LuaSnip",
"hrsh7th/cmp-cmdline",
2023-07-21 13:57:29 +00:00
"neovim/nvim-lspconfig",
"nvim-lualine/lualine.nvim",
2023-01-01 14:16:21 +00:00
"onsails/lspkind.nvim",
}