tpope / vim-cucumber

Vim Cucumber runtime files

Home Page:http://www.vim.org/scripts/script.php?script_id=2973

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only S in Scenario highlighted on windows

kitofr opened this issue · comments

Downloaded plugin today (4 nov 2010)
When i open up a feature file, only the 'S' in Scenario is highlighted (yellow)

Hmm, might not be an issue after all. I noticed this was only when I had a @ on top of the scenario.

I confirm that this happens on Windows with or without the @ at the top. On Linux, the whole word 'Scenario' is highlighted.

Unicode regexps match a bit strangely when Vim is in an 8 bit encoding. You can add set encoding=utf-8 to your vimrc to rectify that until a workaround is added to the syntax highlighting.

Awesome! That did the trick. Thanks.