about summary refs log tree commit diff
path: root/vim
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2019-10-23 16:55:44 -0400
committerBen Harris <ben@tilde.team>2019-10-23 20:45:27 -0400
commit756dbd8397dba581774b0c67d211b7152598e7d8 (patch)
tree2336dd5e1fbfcf87691e25116ec657b0128e9ae9 /vim
parent4da01f4b902db6a6ad03ef96575f6f5929e07bf6 (diff)
update vim plugins, add vim-fish
Diffstat (limited to 'vim')
m---------vim/.vim/bundle/vim-commentary0
m---------vim/.vim/bundle/vim-fish0
m---------vim/.vim/bundle/vim-fugitive0
m---------vim/.vim/bundle/vim-gitgutter0
-rw-r--r--vim/.vim/ftplugin/fish.vim9
-rw-r--r--vim/.vimrc5
6 files changed, 14 insertions, 0 deletions
diff --git a/vim/.vim/bundle/vim-commentary b/vim/.vim/bundle/vim-commentary
-Subproject 141d9d32a9fb58fe474fcc89cd7221eb2dd57b3
+Subproject 62b68aecec2de531bc3978bfb9c07d3b6759ce0
diff --git a/vim/.vim/bundle/vim-fish b/vim/.vim/bundle/vim-fish
new file mode 160000
+Subproject 50b95cbbcd09c046121367d49039710e9dc9c15
diff --git a/vim/.vim/bundle/vim-fugitive b/vim/.vim/bundle/vim-fugitive
-Subproject b97a9abe29c39c4e1a45ae199dbb470df362f53
+Subproject b09c5d2523f9964add241a04862c2f8bbd7d428
diff --git a/vim/.vim/bundle/vim-gitgutter b/vim/.vim/bundle/vim-gitgutter
-Subproject e929cb8b868aba97331231ece6f9f3e1204babe
+Subproject 5c73edb3c2fd8794661d7c7ac72eed1fc9d3676
diff --git a/vim/.vim/ftplugin/fish.vim b/vim/.vim/ftplugin/fish.vim
new file mode 100644
index 0000000..284d352
--- /dev/null
+++ b/vim/.vim/ftplugin/fish.vim
@@ -0,0 +1,9 @@
+" set up :make to use fish for syntax checking
+compiler fish
+
+" set this to have long lines wrap inside comments
+setlocal textwidth=79
+
+" enable folding of block structures in fish
+setlocal foldmethod=expr
+
diff --git a/vim/.vimrc b/vim/.vimrc
index beef3d9..e4c25bf 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -1,3 +1,8 @@
+" posix compatibility
+if &shell =~# 'fish$'
+    set shell=sh
+endif
+
 filetype plugin indent on
 
 syntax enable