I heard someone had set up their editor to highlight python raw strings as regular expressions, e.g. for Django:
urls(r'^site1/(\d)*/new$'', ...)
Unfortunately my googleing doesn't get me anything. Is this possible in vim?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this community
let python_highlight_all = 1
? Also for enhanced python highlightinh see here''
at the end of the string deliberate or a typo? I imaging this can be done, since Vim highlights regexes in Vimscript files.