add vim-sleuth plugin

This commit is contained in:
Jidbo 2022-01-25 00:19:27 +01:00 committed by saibotk
parent f3767c2936
commit 905414e1bb
Signed by: saibotk
GPG key ID: 67585F0065E261D5
2 changed files with 3 additions and 4 deletions

View file

@ -30,11 +30,7 @@ vim.opt.showmode=false
vim.opt.completeopt='menuone,noinsert,noselect' vim.opt.completeopt='menuone,noinsert,noselect'
-- tabs and line wrap -- tabs and line wrap
vim.opt.expandtab=true
vim.opt.tabstop=2
vim.opt.wrapmargin=8 vim.opt.wrapmargin=8
vim.opt.softtabstop=0
vim.opt.shiftwidth=2
vim.opt.backspace='indent,eol,start' vim.opt.backspace='indent,eol,start'
vim.opt.encoding='utf-8' vim.opt.encoding='utf-8'
vim.opt.autoindent=true vim.opt.autoindent=true

View file

@ -10,6 +10,9 @@ Plug 'editorconfig/editorconfig-vim'
-- brackets management -- brackets management
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
-- shift and tab setup
Plug 'tpope/vim-sleuth'
-- new text objects -- new text objects
Plug 'wellle/targets.vim' Plug 'wellle/targets.vim'