On Sat, Mar 5, 2011 at 12:50 AM, Ben Schmidt
<[email protected]>wrote:

> One possibility would be checking there is whitespace or beginning of
>> line before the match starts:
>
>   :syn match ps1Cmdlet /\(^\|\s\)\zs\w\+-\w\+/
>>
>


That works perfectly, thanks! I'd attempted a solution like that but
couldn't figure out the regex syntax for it.

Thanks,
Dan

(to the list this time)

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to