About This File This file, when sourced via your .vimrc file, highlights the HDL (Verilog, SystemVerilog) and Methodology layer (UVM) keywords in the vim editor.
kansagaratushar 3 Posted September 12, 2013 Report Share Thanks... Parveen Thekkedath 1 Quote Link to comment Share on other sites
avicvc 1 Posted September 26, 2014 Report Share have you tried doing this in your global .vimrc file?? If not add this line in ~/.vimrc file and check . >>au BufNewFile,BufRead *.sv,*.svh,*.vh,*.v so ~/.vim/syntax/verilog_systemverilog.vim Hongnhattl 1 Quote Link to comment Share on other sites
babak81 0 Posted October 28, 2014 Report Share Perfect! Thanks, yes it resolved it. This is indeed a useful plug-in. Thanks for providing it. Quote Link to comment Share on other sites
skhanna 1 Posted November 25, 2014 Report Share Hi, I am unable to get this working. Below are the setps I did: 1) downloaded the file and copied it to : ~/.vim/syntax/verilog_systemverilog.vim 2) added the following in .gvimrc -> au BufNewFile,BufRead *.sv,*.svh,*.vh,*.v so ~/.vim/syntax/verilog_systemverilog.vim Is there anything else i need to do? The comments int he file say , It Requires $VIMRUNTIME/syntax/verilog.vim to exist. How do I set the variable and what should verilog.vim contain? Thanks Mstones 1 Quote Link to comment Share on other sites
KameshwarRaoK 0 Posted January 7, 2015 Report Share Thanks lot it is working fine. Quote Link to comment Share on other sites
babak81 0 Posted February 22, 2016 Report Share Hi, Since my last post, I still have some problems with this. The problem happens when I've opened a few files with .sv and .svh extension in gvim. After switching a few times between the files from 'Buffers' menu in gvim, I lose the highlights. This is what I have in .vimrc: esekilxxen510 [11:06] [verif/xbabzak/sim_dl] -> cat ~/.vimrc au BufNewFile,BufRead *.sv,*.svh,*.vh,*.v so ~/.vim/syntax/verilog_systemverilog.vim set backspace=2 set hlsearch set nu BR, Babak Quote Link to comment Share on other sites
babak81 0 Posted February 22, 2016 Report Share I used the solution here: https://www.doulos.com/knowhow/sysverilog/editing/And it works now. I have created the ftdetect, indent, and syntax folders in ~/.vim as that example suggests. And I've put following in my ~/.vimrc file: filetype plugin indent on syntax on That solution seems similar to the solution here though, developed by same authors. Babak Quote Link to comment Share on other sites
Rajshekhar_brcm 0 Posted May 18, 2016 Report Share Thanks lot Quote Link to comment Share on other sites
jds 0 Posted November 13, 2017 Report Share I want to use syntax highlighting for vim in windows. How can I use it Quote Link to comment Share on other sites
chandrs 0 Posted March 28, 2019 Report Share Where is the file to download ? Quote Link to comment Share on other sites
ravi.lande 0 Posted October 6, 2020 Report Share On 11/26/2014 at 12:40 AM, skhanna said: Hi, I am unable to get this working. Below are the setps I did: 1) downloaded the file and copied it to : ~/.vim/syntax/verilog_systemverilog.vim 2) added the following in .gvimrc -> au BufNewFile,BufRead *.sv,*.svh,*.vh,*.v so ~/.vim/syntax/verilog_systemverilog.vim Is there anything else i need to do? The comments int he file say , It Requires $VIMRUNTIME/syntax/verilog.vim to exist. How do I set the variable and what should verilog.vim contain? Thanks You can just try ) downloaded the file and copied it to : ~/.vim/syntax/verilog_systemverilog.vim 2) added the following in .gvimrc -> so ~/.vim/syntax/verilog_systemverilog.vim Quote Link to comment Share on other sites
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.