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
commit6d2c328b6aab6d8c8d77f2ca798aae276fb0df91 (patch)
tree99c7d7d5f4210a7a77b3bec61fe21598014bd5fe
parent9bdab305bdeed4fedcb14dd1aad63bac3912ca86 (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