Permalink
Browse files

set filetype as ansible AND YAML (#48)

  • Loading branch information...
1 parent 352c8be commit 33643fc45b20e217e985436d005685dc8f476f06 @erikzaadi erikzaadi committed with codeinabox Jun 5, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 ftdetect/ansible.vim
@@ -21,7 +21,7 @@ fun! s:SelectAnsible(fileType)
" Check if buffer is file under any directory of a 'roles' directory
" or under any *_vars directory
if fp =~ '/roles/.*\.y\(a\)\?ml$' || fp =~ '/\(group\|host\)_vars/'
- execute "set filetype=" . a:fileType
+ execute "set filetype=" . a:fileType . '.yaml'
return
endif

0 comments on commit 33643fc

Please sign in to comment.