Hi
I have a file which is a system_verilog file but it is an erb file.
Hence i have the following modline
// vim:
filetype=verilog_systemverilog:syntax=verilog_systemverilog:ts=4:tw=0:sw=2:expandtab:norl:foldmethod=marker:
When I open the file first time, the syntax is correctly highlighted as
system_verilog, as specified in my modline.
Now lets say, i change the mode of the file chmod u+w <filename> to chmod u-w
<filename> and reload the file(:e!) in gvim the system_verilog highlighting
goes away and the erb syntax highlight takes effect
:verbose set filetype?
returns
filetype=eruby
Last set from ~/scripts/share/vim/vim81/filetype.vim line 709
I am on gvim 8.1.513
RHEL6 x86_64 box.
Thanks
Rajdeep
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.