nvim.config/lua/plugins/editing.lua
2025-07-09 16:33:59 +02:00

58 lines
1002 B
Lua

return {
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {},
},
{
"windwp/nvim-ts-autotag",
opts = {},
ft = "html",
},
{
"RRethy/nvim-treesitter-endwise",
config = function()
require("nvim-treesitter.configs").setup({
endwise = {
enable = true,
},
})
end,
ft = {
"lua",
"ruby",
"julia",
},
},
{ "akinsho/git-conflict.nvim", version = "*", config = true },
{
"utilyre/sentiment.nvim",
version = "*",
event = "VeryLazy",
opts = {},
init = function()
vim.g.loaded_matchparen = 1
end,
},
{
"rgroli/other.nvim",
opts = {
mappings = {
"angular",
},
},
config = function(_, opts)
require("other-nvim").setup(opts)
end,
keys = {
{ "<leader>s", "<cmd>Other<CR>", desc = "Open other file" },
},
cmd = { "Other", "OtherTabNew", "OtherSplit", "OtherVSplit" },
},
"mcombeau/vim-twee-sugarcube",
{
"dbeniamine/cheat.sh-vim",
cmd = { "Cheat", "CheatReplace", "CheatPast", "CheatPager" },
},
}