[go: up one dir, main page]

Hello!

I鈥檓 having an issue in Vim where it will not do syntax highlighting unless using hard tabs. I prefer hard tabs, but they aren鈥檛 valid yaml and I get yelled at when I try and import the file in python.

With proper spaces

With hard tabs

Does anyone know how I can resolve this?

Thanks!

EDIT: This is confusing. I鈥檝e just discovered that if I run set ft? it shows filetype=yaml. If I then run set ft=yaml the syntax highlighting works correctly??? That doesn鈥檛 make any sense.