aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/plugins.lua
diff options
context:
space:
mode:
authorpml68 <tutorialmester@gmail.com>2024-05-30 18:38:49 +0200
committerpml68 <tutorialmester@gmail.com>2024-05-30 18:38:49 +0200
commit4684d8282e3bb1d40e9b221041bab3c223af4b1a (patch)
tree7a6f76ed90f6a747bae755ea8c0cab9c3f938b13 /lua/pml68/plugins.lua
parentfeat: add image.nvim and disable folds by default (diff)
downloadnvim-4684d8282e3bb1d40e9b221041bab3c223af4b1a.tar.gz
feat: remove toggleterm plugin
Diffstat (limited to 'lua/pml68/plugins.lua')
-rw-r--r--lua/pml68/plugins.lua52
1 files changed, 15 insertions, 37 deletions
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua
index 2e2a615..403f2eb 100644
--- a/lua/pml68/plugins.lua
+++ b/lua/pml68/plugins.lua
@@ -94,48 +94,26 @@ local plugins = {
require("pml68.configs.cmp")
end,
},
- --Terminal
- {
- "akinsho/toggleterm.nvim",
- version = "*",
- cmd = "ToggleTerm",
- opts = {
- shade_terminals = false,
- persist_size = false,
- size = function(term)
- if term.direction == "horizontal" then
- return 15
- elseif term.direction == "vertical" then
- return vim.o.columns * 0.4
- end
- end,
- },
- config = function(_, opts)
- require("pml68.configs.toggleterm")
- require("toggleterm").setup(opts)
- end
- },
--Git
{
"lewis6991/gitsigns.nvim",
event = "BufReadPost",
- opts = {
- signs = {
- add = { text = "│" },
- change = { text = "│" },
- delete = { text = "󰍵" },
- topdelete = { text = "‾" },
- changedelete = { text = "~" },
- untracked = { text = "│" },
- },
- on_attach = function(bufnr)
- local gs = package.loaded.gitsigns
+ config = function()
+ require("gitsigns").setup({
+ signs = {
+ add = { text = "│" },
+ change = { text = "│" },
+ delete = { text = "󰍵" },
+ topdelete = { text = "‾" },
+ changedelete = { text = "~" },
+ untracked = { text = "│" },
+ },
+ on_attach = function(bufnr)
+ local gs = package.loaded.gitsigns
- vim.keymap.set("n", "<leader>gb", gs.blame_line, { buffer = bufnr })
- end,
- },
- config = function(_, opts)
- require("gitsigns").setup(opts)
+ vim.keymap.set("n", "<leader>gb", gs.blame_line, { buffer = bufnr })
+ end,
+ })
end
},
--LSP