From c99ce05989a80e0c256c1018a9bc6086ff0aa3a7 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 16 Oct 2023 17:14:55 +0200 Subject: [PATCH] Use fugitive and reformat --- after/plugin/telescope.lua | 1 - lua/myworkflow/packer.lua | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua index b82bc0c..5ff462e 100644 --- a/after/plugin/telescope.lua +++ b/after/plugin/telescope.lua @@ -10,7 +10,6 @@ vim.keymap.set('n', 'fs', function() if (searchstring == nil or searchstring == '') then return end - builtin.grep_string({ search = searchstring }); end) diff --git a/lua/myworkflow/packer.lua b/lua/myworkflow/packer.lua index 9cd1a0c..60d8f6b 100644 --- a/lua/myworkflow/packer.lua +++ b/lua/myworkflow/packer.lua @@ -5,6 +5,10 @@ return require('packer').startup(function(use) use { 'nvim-telescope/telescope.nvim', requires = { { 'nvim-lua/plenary.nvim' } } } + + -- fugitive + use 'tpope/vim-fugitive' + -- Packer can manage itself use 'wbthomason/packer.nvim' use 'mbbill/undotree' @@ -35,5 +39,5 @@ return require('packer').startup(function(use) use 'dcampos/cmp-snippy' -- Project explorer - use {'nvim-tree/nvim-tree.lua', requires = 'nvim-tree/nvim-web-devicons'} + use { 'nvim-tree/nvim-tree.lua', requires = 'nvim-tree/nvim-web-devicons' } end)