From 905414e1bb6ff720b2b4dc074d8dee02a931059f Mon Sep 17 00:00:00 2001 From: Jidbo Date: Tue, 25 Jan 2022 00:19:27 +0100 Subject: [PATCH] add vim-sleuth plugin --- nvim/lua/options.lua | 4 ---- nvim/lua/plugins.lua | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nvim/lua/options.lua b/nvim/lua/options.lua index 0f4ad7d..c5b5975 100644 --- a/nvim/lua/options.lua +++ b/nvim/lua/options.lua @@ -30,11 +30,7 @@ vim.opt.showmode=false vim.opt.completeopt='menuone,noinsert,noselect' -- tabs and line wrap -vim.opt.expandtab=true -vim.opt.tabstop=2 vim.opt.wrapmargin=8 -vim.opt.softtabstop=0 -vim.opt.shiftwidth=2 vim.opt.backspace='indent,eol,start' vim.opt.encoding='utf-8' vim.opt.autoindent=true diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 25e3f5b..89dca6d 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -10,6 +10,9 @@ Plug 'editorconfig/editorconfig-vim' -- brackets management Plug 'tpope/vim-surround' +-- shift and tab setup +Plug 'tpope/vim-sleuth' + -- new text objects Plug 'wellle/targets.vim'