Skip to content

Commit

Permalink
Fixes #1, Ignore is not the same as NONE and I'm a horrible person fo…
Browse files Browse the repository at this point in the history
…r thinking so
  • Loading branch information
pearofducks committed Sep 12, 2015
1 parent ff8915c commit 3e437ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions syntax/ansible.vim
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ highlight link jinjaVarDelim Delimiter

" Reset some YAML to plain styling
" the number 80 in Ansible isn't any more important than the word root
highlight link yamlInteger Ignore
highlight link yamlBool Ignore
highlight link yamlFlowString Ignore
highlight link yamlInteger NONE
highlight link yamlBool NONE
highlight link yamlFlowString NONE
" but it does make sense we visualize quotes easily
highlight link yamlFlowStringDelimiter Delimiter

Expand All @@ -52,7 +52,7 @@ fun! s:attribute_highlight(attributes)
syn match ansible_attributes "\v^\s*\w+\=" containedin=yamlPlainScalar
endif
if a:attributes =~ 'n'
highlight link ansible_attributes Ignore
highlight link ansible_attributes NONE
elseif a:attributes =~ 'd'
highlight link ansible_attributes Comment
else
Expand Down

0 comments on commit 3e437ac

Please sign in to comment.