Skip to content

Commit

Permalink
Merge pull request #2 from DavidWittman/patch-1
Browse files Browse the repository at this point in the history
Add documentation of filetypes to README
  • Loading branch information
pearofducks committed Oct 17, 2015
2 parents 86513aa + 8d5a43f commit f024ddb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ This is a vim syntax plugin for Ansible 2.0, it supports YAML playbooks, Jinja2
- Jinja2 templates are detected if they have a *.j2* suffix
- Files named `hosts` will be treated as Ansible hosts files

You can also set the filetype to `ansible`, `ansible_template`, or `ansible_hosts` if auto-detection does not work (e.g. `:set ft=ansible`).

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.

##### examples
Expand Down

0 comments on commit f024ddb

Please sign in to comment.