Skip to content

Commit f024ddb

Browse files
committed
Merge pull request #2 from DavidWittman/patch-1
Add documentation of filetypes to README
2 parents 86513aa + 8d5a43f commit f024ddb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ This is a vim syntax plugin for Ansible 2.0, it supports YAML playbooks, Jinja2
99
- Jinja2 templates are detected if they have a *.j2* suffix
1010
- Files named `hosts` will be treated as Ansible hosts files
1111

12+
You can also set the filetype to `ansible`, `ansible_template`, or `ansible_hosts` if auto-detection does not work (e.g. `:set ft=ansible`).
13+
1214
This plugin should be quite reliable, as it sources the original formats and simply modifies the highlights as appropriate. This also enables a focus on simplicity and configurability instead of patching bad syntax detection.
1315

1416
##### examples

0 commit comments

Comments
 (0)