133 lines
2.8 KiB
Lua
133 lines
2.8 KiB
Lua
-- vim:fileencoding=utf-8:foldmethod=marker
|
|
|
|
return {
|
|
--: Behaviour {{{
|
|
{
|
|
"MeanderingProgrammer/render-markdown.nvim",
|
|
dependencies = { "nvim-treesitter/nvim-treesitter", "echasnovski/mini.icons" }, -- if you use standalone mini plugins
|
|
---@module 'render-markdown'
|
|
---@type render.md.UserConfig
|
|
opts = {},
|
|
},
|
|
"preservim/nerdcommenter", -- (batch)commenting tool
|
|
{ -- fuzzy file finder
|
|
"nvim-telescope/telescope.nvim",
|
|
opts = {
|
|
pickers = {
|
|
find_files = {
|
|
--hidden = true,
|
|
no_ignore = true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"nvim-telescope/telescope-file-browser.nvim",
|
|
dependencies = { "nvim-telescope/telescope.nvim", "nvim-lua/plenary.nvim" },
|
|
opts = {
|
|
extensions = {
|
|
file_browser = {
|
|
theme = vim.g.colors_name,
|
|
hijack_netrw = true,
|
|
auto_depth = true,
|
|
no_ignore = false,
|
|
hidden = { file_browser = true, folder_browser = true },
|
|
},
|
|
},
|
|
},
|
|
config = function(_, opts)
|
|
require("telescope").setup(opts)
|
|
require("telescope").load_extension("file_browser")
|
|
end,
|
|
},
|
|
{
|
|
"direnv/direnv.vim",
|
|
},
|
|
{
|
|
"akinsho/toggleterm.nvim",
|
|
version = "*",
|
|
opts = {
|
|
direction = "float",
|
|
},
|
|
config = function(_, opts)
|
|
local Terminal = require("toggleterm.terminal").Terminal
|
|
local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = "float" })
|
|
|
|
function _Lazygit_toggle()
|
|
lazygit:toggle()
|
|
end
|
|
|
|
require("toggleterm").setup(opts)
|
|
end,
|
|
},
|
|
--:}}}
|
|
--: Visuals {{u{
|
|
{
|
|
"rachartier/tiny-inline-diagnostic.nvim",
|
|
event = "LspAttach",
|
|
opts = {
|
|
options = {
|
|
show_all_diags_on_cursorline = true,
|
|
multilines = true,
|
|
enable_on_insert = true,
|
|
throttle = 0,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
"echasnovski/mini.cursorword",
|
|
opts = {},
|
|
},
|
|
{
|
|
"nvim-lualine/lualine.nvim",
|
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
|
opts = { options = { globalstatus = true } },
|
|
},
|
|
{
|
|
"lewis6991/gitsigns.nvim",
|
|
opts = {},
|
|
},
|
|
{
|
|
"folke/todo-comments.nvim",
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
opts = {},
|
|
},
|
|
{
|
|
"romgrk/barbar.nvim",
|
|
dependencies = {
|
|
"nvim-tree/nvim-web-devicons", -- optional, for file icons
|
|
"lewis6991/gitsigns.nvim",
|
|
},
|
|
opts = {
|
|
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
|
|
animation = true,
|
|
-- insert_at_start = true,
|
|
-- …etc.
|
|
},
|
|
},
|
|
{
|
|
"rcarriga/nvim-notify",
|
|
opts = {
|
|
render = "wrapped-compact",
|
|
max_width = function()
|
|
return math.floor(vim.o.columns * 0.5)
|
|
end,
|
|
},
|
|
config = function(_, opts)
|
|
require("notify").setup(opts)
|
|
vim.notify = require("notify")
|
|
end,
|
|
},
|
|
{
|
|
"stevearc/dressing.nvim",
|
|
},
|
|
{
|
|
"folke/tokyonight.nvim",
|
|
lazy = true,
|
|
opts = {},
|
|
config = function()
|
|
vim.cmd("colorscheme tokyonight-night")
|
|
end,
|
|
},
|
|
--:}}}
|
|
}
|