summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2020-10-01 08:40:59 +0100
committerUrbain Vaes <urbain@vaes.uk>2020-10-01 08:40:59 +0100
commit50f8d5960668ccded709a881f9dc1b75d00690eb (patch)
tree99c7d7d5f4210a7a77b3bec61fe21598014bd5fe
parentd99897857b52870c427a8910061d922fcb020184 (diff)
[zsh] Fix completion
-rw-r--r--vim/.vimrc2
-rw-r--r--zsh/.zshrc1
2 files changed, 2 insertions, 1 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index b225bcd..4b896bb 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -244,7 +244,7 @@ set shiftwidth=4
set showcmd
set splitright
set smartcase
-set smartindent
+set nosmartindent
set softtabstop=-1 " set sotftabstop=&shiftwidth
" set formatoptions+=orw
silent! set breakindent
diff --git a/zsh/.zshrc b/zsh/.zshrc
index c1000e0..1cc4d4b 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -43,6 +43,7 @@ setopt inc_append_history
setopt no_share_history
# Completion
+autoload -Uz compinit && compinit
zstyle ':completion:*' matcher-list 'm:{a-zA-Z-_}={A-Za-z_-}' 'r:|=*' 'l:|=* r:|=*'
# Kill word