commit b95356e05da47e740c139b6f7b405f7f2e09ebbc
parent 119b1dea4bb8939784d7ca88ab801a5257f63140
Author: mehdi-norouzi <mehdeenoroozi@gmail.com>
Date: Thu, 21 Sep 2023 10:06:06 +0330
nvim: Remove gitsigns and lazygit
Diffstat:
3 files changed, 5 insertions(+), 57 deletions(-)
diff --git a/nvim/.config/nvim/after/plugin/gitsigns.lua b/nvim/.config/nvim/after/plugin/gitsigns.lua
@@ -1,42 +0,0 @@
-require('gitsigns').setup {
- signs = {
- add = { hl = 'GitSignsAdd', text = '│', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn' },
- change = { hl = 'GitSignsChange', text = '│', numhl = 'GitSignsChangeNr', linehl = 'GitSignsChangeLn' },
- delete = { hl = 'GitSignsDelete', text = '_', numhl = 'GitSignsDeleteNr', linehl = 'GitSignsDeleteLn' },
- topdelete = { hl = 'GitSignsDelete', text = '‾', numhl = 'GitSignsDeleteNr', linehl = 'GitSignsDeleteLn' },
- changedelete = { hl = 'GitSignsChange', text = '~', numhl = 'GitSignsChangeNr', linehl = 'GitSignsChangeLn' },
- untracked = { hl = 'GitSignsAdd', text = '┆', numhl = 'GitSignsAddNr', linehl = 'GitSignsAddLn' },
- },
- signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
- numhl = false, -- Toggle with `:Gitsigns toggle_numhl`
- linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
- word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
- watch_gitdir = {
- interval = 1000,
- follow_files = true
- },
- attach_to_untracked = true,
- current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame`
- current_line_blame_opts = {
- virt_text = true,
- virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align'
- delay = 1000,
- ignore_whitespace = false,
- },
- current_line_blame_formatter = '<author>, <author_time:%Y-%m-%d> - <summary>',
- sign_priority = 6,
- update_debounce = 100,
- status_formatter = nil, -- Use default
- max_file_length = 40000, -- Disable if file is longer than this (in lines)
- preview_config = {
- -- Options passed to nvim_open_win
- border = 'single',
- style = 'minimal',
- relative = 'cursor',
- row = 0,
- col = 1
- },
- yadm = {
- enable = false
- },
-}
diff --git a/nvim/.config/nvim/after/plugin/telescope-config.lua b/nvim/.config/nvim/after/plugin/telescope-config.lua
@@ -31,4 +31,4 @@ require('telescope').setup{
require('telescope').load_extension('fzf')
require('telescope').load_extension('file_browser')
-require('telescope').load_extension('lazygit')
+-- require('telescope').load_extension('lazygit')
diff --git a/nvim/.config/nvim/lua/mehdi/packer.lua b/nvim/.config/nvim/lua/mehdi/packer.lua
@@ -51,15 +51,9 @@ return require('packer').startup(
-- dap
use { 'mfussenegger/nvim-dap' }
- use { 'rcarriga/nvim-dap-ui' }
+ use { 'rcarriga/nvim-dap-ui', requires = {'mfussenegger/nvim-dap'} }
use { 'ravenxrz/DAPInstall.nvim' }
- -- -- treesitter
- -- use("nvim-treesitter/nvim-treesitter", {
- -- run = ":TSUpdate"
- -- })
- -- use { "nvim-treesitter/nvim-treesitter-context" }
-
-- undotree
use { 'mbbill/undotree' }
@@ -82,20 +76,16 @@ return require('packer').startup(
-- git stuff
use { 'sindrets/diffview.nvim', requires = 'nvim-lua/plenary.nvim' }
- use { 'kdheepak/lazygit.nvim' }
use { 'tpope/vim-fugitive' }
use { 'tpope/vim-unimpaired' }
-- harpoon
use { "ThePrimeagen/harpoon" }
- -- reach
- use { "toppair/reach.nvim" }
-
- -- gitsigns
- use { 'lewis6991/gitsigns.nvim' }
-
-- tmux-vim-navigator
use { 'christoomey/vim-tmux-navigator' }
+ -- nodev
+ use { 'folke/neodev.nvim', opts = {} }
+
end)