aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-22 18:27:01 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-22 18:27:01 +1200
commit931492b073d151389257a284d972bea028c91ea7 (patch)
tree17973720d877cbcf66c4d5c5c95c528b744c99a1 /vim/plugin
parentSeparate :try block for fortune function (diff)
downloaddotfiles-931492b073d151389257a284d972bea028c91ea7.tar.gz
dotfiles-931492b073d151389257a284d972bea028c91ea7.zip
Move 'filetype' display to command definition
Diffstat (limited to 'vim/plugin')
-rw-r--r--vim/plugin/alternate_filetypes.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/plugin/alternate_filetypes.vim b/vim/plugin/alternate_filetypes.vim
index d530b874..e024c9b2 100644
--- a/vim/plugin/alternate_filetypes.vim
+++ b/vim/plugin/alternate_filetypes.vim
@@ -1,4 +1,4 @@
command -bar AlternateFileType
- \ call alternate_filetypes#()
+ \ call alternate_filetypes#() | set filetype?
nnoremap <silent> <Plug>(AlternateFileType)
\ :<C-U>AlternateFileType<CR>