I have a problem with Bash syntax highlighting on two different machines
using the same version of Vim. If I define a Bash function on either
machine **without** using the "function" keyword, the function
definition is highlighted green in my color scheme as expected:
some_bash_function()
{
# Stuff inside function
}
However, if I use the "function" keyword like this:
function some_bash_function()
{
# Stuff inside function
}
It's highlighted incorrectly on the Debian 8 machine but not the RedHat
6 machine. I am running the exact same version of Vim on both machines
(7.4 patch level 1796) with the exact same set of configuration files.
If I run ":scriptnames" on both hosts, the text is identical. Does
anyone have any ideas what's up with the difference in syntax
highlighting?
Thanks,
Eric
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, April 27, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment