From 21bec5808d2ee13265d46236a6646fab8510fb60 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 26 Sep 2021 14:29:44 -0700 Subject: [PATCH] nvim: fixed the watch_index startup warning --- .config/nvim/lua/blake/other.lua | 2 +- .config/nvim/lua/blake/plugins.lua | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.config/nvim/lua/blake/other.lua b/.config/nvim/lua/blake/other.lua index a4e89f1..d56db9e 100644 --- a/.config/nvim/lua/blake/other.lua +++ b/.config/nvim/lua/blake/other.lua @@ -119,7 +119,7 @@ M.gitsigns = function() ['o ih'] = 'lua require"gitsigns.actions".select_hunk()', ['x ih'] = 'lua require"gitsigns.actions".select_hunk()' }, - watch_index = { + watch_gitdir = { interval = 1000, follow_files = true }, diff --git a/.config/nvim/lua/blake/plugins.lua b/.config/nvim/lua/blake/plugins.lua index 83718c6..e8be994 100644 --- a/.config/nvim/lua/blake/plugins.lua +++ b/.config/nvim/lua/blake/plugins.lua @@ -91,11 +91,8 @@ return require('packer').startup(function() require("blake.lsp").signature() end, } - use { -- Use the % key for more things + use { -- Use the percent (%) key for more things "andymass/vim-matchup", - -- setup = function() - -- require("blake.other").packer_lazy_load "vim-matchup" - -- end, } use { -- ALE: Support for lots of linters, etc 'dense-analysis/ale', @@ -159,6 +156,9 @@ return require('packer').startup(function() use { -- Alignment 'junegunn/vim-easy-align', } + use { -- cheat.sh integration + "dbeniamine/cheat.sh-vim", + } use { -- tpope: Quote/parenthesis changing 'tpope/vim-surround' } @@ -171,9 +171,6 @@ return require('packer').startup(function() use { -- tpope: Repeatability for various tpope plugins 'tpope/vim-repeat', } - use { -- cheat.sh integration - "dbeniamine/cheat.sh-vim", - } end)