Comments (8)
@tnguyen-tx did @netvolcano solution work for you?
from verilog_systemverilog.vim.
You need to modify the below statement in the verilog_systemverilog.vim file in the syntax directory (I think it is the root for your error messages):
# syn keyword verilogStatement begin end
syn keyword verilogStatement begin end
from verilog_systemverilog.vim.
I can't find a way of disabling this highlight on my side, as it is.
I've looked at some of those rainbow plugins and some have an "after" option that could be used to overcome this. Could you give it a try?
from verilog_systemverilog.vim.
Try to add the following lines into you rainbow setting (i.e. put them into let s:rainbow_conf = {...}
)
\ 'verilog_systemverilog': {
\ 'parentheses': [
\ 'start=/(/ end=/)/ fold',
\ 'start=/\[/ end=/\]/ fold',
\ 'start=/{/ end=/}/ fold',
\ 'start=/\<begin\>/ end=/\<end\>/',
\ ],
\ 'after': [
\ 'syn clear verilogBeginEnd',
\ 'syn match verilogOperator "[&|~><!*#%@+/=?:;}{,.\^\-\[\]]" ',
\ 'syn region verilogComment start="/\*" end="\*/" contains=verilogTodo,@Spell ',
\ 'syn match verilogComment "//.*" contains=verilogTodo,@Spell ',
\ ],
\ },
from verilog_systemverilog.vim.
With my setting in the rainbow plugin.
from verilog_systemverilog.vim.
Try to add the following lines into you rainbow setting (i.e. put them into
let s:rainbow_conf = {...}
)\ 'verilog_systemverilog': { \ 'parentheses': [ \ 'start=/(/ end=/)/ fold', \ 'start=/\[/ end=/\]/ fold', \ 'start=/{/ end=/}/ fold', \ 'start=/\<begin\>/ end=/\<end\>/', \ ], \ 'after': [ \ 'syn clear verilogBeginEnd', \ 'syn match verilogOperator "[&|~><!*#%@+/=?:;}{,.\^\-\[\]]" ', \ 'syn region verilogComment start="/\*" end="\*/" contains=verilogTodo,@Spell ', \ 'syn match verilogComment "//.*" contains=verilogTodo,@Spell ', \ ], \ },
Hi~ I am trying to use your solution, but it doesn't work for me. The error info is in the following picture. Would you please help me figure it out?
Thank your for your help in advance :)
from verilog_systemverilog.vim.
Have you installed the the verilog syntax plugin as below?
Plugin 'vhda/verilog_systemverilog.vim'
If it will not take effects after you installed the plugin, you need delete a line of "syn keyword verilogLabel begin end fork join" from the verilog_systemverilog.vim file in the syntax directory.
from verilog_systemverilog.vim.
You need to modify the below statement in the verilog_systemverilog.vim file in the syntax directory (I think it is the root for your error messages): # syn keyword verilogStatement begin end syn keyword verilogStatement begin end
Cool, you're totally right. It works. Thanks a lot.
I am wondering how your vimrc looks like, because I think you must have a lot great config for writing veirlog/sv efficiently.
Anyway, thank you for your help in time :)
from verilog_systemverilog.vim.
Related Issues (20)
- neovim 0.72, 1st open .v file, variable g:verilog_syntax can not find error as below HOT 6
- Not working in version 8.2 HOT 2
- Not working in Neovim 0.8.1 HOT 4
- Please tag the latest release HOT 1
- Automatically Create "work" folder
- Typedef classes are not handled by Omnicomplete HOT 3
- Verilog_syntax error HOT 3
- Undefined variable: g:verilog_syntax HOT 5
- Intendation is slow when inserting a new line into the thousands signal interface HOT 3
- This plugin breaks verilog_emacsauto.vim HOT 4
- [BUG] macros breaking indentation HOT 17
- Decrement operator followed by semicolon is treated as open statement HOT 1
- Add commentstring for vim commentary HOT 3
- Folding works on some files HOT 3
- Undefined variable: g:verilog_syntax HOT 2
- Indent conflict between modport and clocking
- indentation with virtual function/task and fork/join HOT 2
- UVM highlight?
- tagbar need add other labels
- folding error when using extern function/task with argument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verilog_systemverilog.vim.