feat: added 2 plugins
This commit is contained in:
parent
eaf6e0d084
commit
4a5f39bd74
6 changed files with 90 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
return {
|
||||
|
||||
-- config for formatters
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
|
|
@ -40,4 +41,74 @@ return {
|
|||
},
|
||||
config = true,
|
||||
},
|
||||
|
||||
-- harness lsps' full power
|
||||
{
|
||||
"nvimdev/lspsaga.nvim",
|
||||
event = "LspAttach",
|
||||
config = function()
|
||||
require("lspsaga").setup {}
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter", -- optional
|
||||
"nvim-tree/nvim-web-devicons", -- optional
|
||||
},
|
||||
|
||||
-- beautiful git
|
||||
{
|
||||
"SuperBo/fugit2.nvim",
|
||||
build = false,
|
||||
opts = {
|
||||
width = 100,
|
||||
},
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
"nvim-lua/plenary.nvim",
|
||||
{
|
||||
"chrisgrieser/nvim-tinygit", -- optional: for Github PR view
|
||||
dependencies = { "stevearc/dressing.nvim" },
|
||||
},
|
||||
},
|
||||
cmd = { "Fugit2", "Fugit2Diff", "Fugit2Graph" },
|
||||
keys = {
|
||||
{ "<leader>F", mode = "n", "<cmd>Fugit2<cr>" },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- Beautiful indent helpers
|
||||
-- {
|
||||
-- "lukas-reineke/indent-blankline.nvim",
|
||||
-- version = false,
|
||||
-- config = function(_, opts)
|
||||
-- local highlight = {
|
||||
-- "RainbowRed",
|
||||
-- "RainbowYellow",
|
||||
-- "RainbowBlue",
|
||||
-- "RainbowOrange",
|
||||
-- "RainbowGreen",
|
||||
-- "RainbowViolet",
|
||||
-- "RainbowCyan",
|
||||
-- }
|
||||
--
|
||||
-- local hooks = require "ibl.hooks"
|
||||
-- -- create the highlight groups in the highlight setup hook, so they are reset
|
||||
-- -- every time the colorscheme changes
|
||||
-- hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
|
||||
-- vim.api.nvim_set_hl(0, "RainbowRed", { fg = "#E06C75" })
|
||||
-- vim.api.nvim_set_hl(0, "RainbowYellow", { fg = "#E5C07B" })
|
||||
-- vim.api.nvim_set_hl(0, "RainbowBlue", { fg = "#61AFEF" })
|
||||
-- vim.api.nvim_set_hl(0, "RainbowOrange", { fg = "#D19A66" })
|
||||
-- vim.api.nvim_set_hl(0, "RainbowGreen", { fg = "#98C379" })
|
||||
-- vim.api.nvim_set_hl(0, "RainbowViolet", { fg = "#C678DD" })
|
||||
-- vim.api.nvim_set_hl(0, "RainbowCyan", { fg = "#56B6C2" })
|
||||
-- end)
|
||||
--
|
||||
-- require("ibl").setup {
|
||||
-- indent = { highlight = highlight },
|
||||
-- scope = { enabled = true, show_start = true, highlight = highlight },
|
||||
-- }
|
||||
-- end,
|
||||
-- },
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue