aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-07-23 01:15:27 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-07-23 01:15:27 +1200
commit488ebe8343bc8a5b1784d3185b7a2716c081bdba (patch)
tree743462bc0f01df63fb8dd7a4d6e675fdc80887af /vim/autoload
parentAdd a Git hooks issue with new repositories (diff)
downloaddotfiles-488ebe8343bc8a5b1784d3185b7a2716c081bdba.tar.gz
dotfiles-488ebe8343bc8a5b1784d3185b7a2716c081bdba.zip
Spin alternate_filetypes.vim plugin into a dist
Diffstat (limited to 'vim/autoload')
-rw-r--r--vim/autoload/alternate_filetypes.vim13
1 files changed, 0 insertions, 13 deletions
diff --git a/vim/autoload/alternate_filetypes.vim b/vim/autoload/alternate_filetypes.vim
deleted file mode 100644
index 08ac88dc..00000000
--- a/vim/autoload/alternate_filetypes.vim
+++ /dev/null
@@ -1,13 +0,0 @@
-function! alternate_filetypes#() abort
- if exists('b:alternate_filetypes')
- let filetypes = b:alternate_filetypes
- let index = index(filetypes, &filetype)
- if index >= 0
- let &filetype = filetypes[
- \ (index + 1) % len(filetypes)
- \]
- else
- unlet b:alternate_filetypes
- endif
- endif
-endfunction