about summary refs log tree commit diff
path: root/vim/.vim/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/ftplugin')
-rw-r--r--vim/.vim/ftplugin/fish.vim9
1 files changed, 9 insertions, 0 deletions
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
+