diff options
Diffstat (limited to 'vim')
m--------- | vim/.vim/bundle/vim-commentary | 0 | ||||
m--------- | vim/.vim/bundle/vim-fish | 0 | ||||
m--------- | vim/.vim/bundle/vim-fugitive | 0 | ||||
m--------- | vim/.vim/bundle/vim-gitgutter | 0 | ||||
-rw-r--r-- | vim/.vim/ftplugin/fish.vim | 9 | ||||
-rw-r--r-- | vim/.vimrc | 5 |
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 |