syntax highlighting

Making Vim Syntax Highlighting Work Inside Git Bash

If you have used Git Bash and its Vim, which both come as one package, you have probably stumbled on the issue of making syntax highlighting work.

Whenever you type the command “vi file_name” in Git Bash and type, for example, some php code, you will see the plain white text on the black background. To try and fix the issue, you would just type the command “: syntax on”, because it always worked, right? Well, not so much with the Git Bash Vim scenario.

Subscribe to syntax highlighting
© 2018 SpinSpire All rights reserved.