Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for VHDL and SystemVerilog syntax highlinting #1535

Closed
rafaelnp opened this issue Feb 3, 2021 · 5 comments
Closed

Add support for VHDL and SystemVerilog syntax highlinting #1535

rafaelnp opened this issue Feb 3, 2021 · 5 comments

Comments

@rafaelnp
Copy link

rafaelnp commented Feb 3, 2021

Thanks for the nice tool, really useful. I would like to request support for VHDL and SystemVerilog syntax highlingting. It would a nice addition for FPGA/ASIC development workflow.

@rafaelnp rafaelnp added the feature-request New feature or request label Feb 3, 2021
@rafaelnp rafaelnp changed the title Add support for VHDL and SystemVerilog Add support for VHDL and SystemVerilog syntax highlinting Feb 3, 2021
@keith-hall keith-hall added syntax-request and removed feature-request New feature or request labels Feb 6, 2021
@keith-hall
Copy link
Collaborator

Have you tried any existing syntax definitions to recommend one? https://packagecontrol.io/search/Vhdl
https://github.com/sharkdp/bat#adding-new-syntaxes--language-definitions

@rafaelnp
Copy link
Author

rafaelnp commented Feb 6, 2021

Thanks for your reply. No, I was not aware of these links. I will try to implement what is described, and reply my results. Nevertheless, I would be helpful and nice to have this syntax support of out the box. :)

@rafaelnp
Copy link
Author

rafaelnp commented Feb 6, 2021

@keith-hall: I did as you suggested, and it worked using the following sublime text packages, in case anyone else wants to use it:

VHDL:

SystemVerilog:

And the list of commands to install them:

mkdir -p "$(bat --config-dir)/syntaxes" ; \
cd "$(bat --config-dir)/syntaxes" ; \
git clone https://github.com/TheClams/SmartVHDL.git ; \
git clone https://github.com/TheClams/SystemVerilog.git ; \
bat cache --build

@goldenwunder
Copy link

thanks for the tip and the good instructions - worked a treat for me.

@sharkdp
Copy link
Owner

sharkdp commented Feb 16, 2021

Glad that worked. Closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants