Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97327

VS Code - syntax highlighting for gitmessage

$
0
0

I have a vscode set up as a git message writer. So far so good. But this month in our company we started using the Phabricator with hashtags, and i cannot use # for comments anymore. I've changed it to | in gitconfig file (commentChar = |) but from now vscode doesn't recognize syntax.

In the case of vim I managed to change the syntax by editing "/usr/share/vim/current/syntax/gitcommit.vim".

Can I somehow edit syntax highlighting for VS Code?

Maybe there is some option to automatically detect the comment char?

Or should I go back to love vim?


Viewing all articles
Browse latest Browse all 97327

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>