summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-09-09 08:42:27 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-09-09 08:42:27 -0700
commitab814a3c55add5596eff270fab08a018726f24fc (patch)
tree5e7e0f02f5482a41d2fe50ce12340714134a5c0b /configs
parent[tmux] add tmux config back (diff)
downloademacs.d-ab814a3c55add5596eff270fab08a018726f24fc.tar.gz
[vim] add more syntax / ftplugin stuff
Diffstat (limited to 'configs')
-rw-r--r--configs/rcs/vim/after/ftplugin/gitcommit.vim1
-rw-r--r--configs/rcs/vim/after/ftplugin/gitconfig.vim1
-rw-r--r--configs/rcs/vim/after/syntax/gitcommit.vim1
3 files changed, 3 insertions, 0 deletions
diff --git a/configs/rcs/vim/after/ftplugin/gitcommit.vim b/configs/rcs/vim/after/ftplugin/gitcommit.vim
new file mode 100644
index 0000000..bcda2dd
--- /dev/null
+++ b/configs/rcs/vim/after/ftplugin/gitcommit.vim
@@ -0,0 +1 @@
+setlocal spell
diff --git a/configs/rcs/vim/after/ftplugin/gitconfig.vim b/configs/rcs/vim/after/ftplugin/gitconfig.vim
new file mode 100644
index 0000000..e2c8736
--- /dev/null
+++ b/configs/rcs/vim/after/ftplugin/gitconfig.vim
@@ -0,0 +1 @@
+setlocal noexpandtab shiftwidth=0
diff --git a/configs/rcs/vim/after/syntax/gitcommit.vim b/configs/rcs/vim/after/syntax/gitcommit.vim
new file mode 100644
index 0000000..0743f49
--- /dev/null
+++ b/configs/rcs/vim/after/syntax/gitcommit.vim
@@ -0,0 +1 @@
+highlight link gitcommitOverflow Error