Hello all, Attached is a patch to fix some syntax highlighting issues I've run across when writing vim scripts. These are the issues the patch fixes:
1. Function parameters weren't always highlighted when they were used inside
function calls:
:call s:mySuperfunction(one, a:param)
-> a:param wasn't highlighted
2. When a vim function is used as a parameter inside another vim function, only
the first function was highlighted:
:let resolved = split(substitute(f.filter, '"', '', 'g'))
-> substitute wasn't highlighted
3. vim function names and parameter names weren't highlighted for exec calls:
:exec "let" a:var "=" string(a:default)
-> a:var and string weren't highlighted.
4. parameter names weren't highlighted inside echo calls:
:echo a:msg
-> a:msg wasn't highlighted.
5. The augroup command wasn't highlighted at all.
Please try the patch and let me know if you see any problems with it.
Thanks,
David
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
vim.patch
Description: vim.patch
