Ticket #4215: 0001-Add-the-.vh-and-.svh-common-file-extensions-to-be-al.patch

File 0001-Add-the-.vh-and-.svh-common-file-extensions-to-be-al.patch, 862 bytes (added by purdeaandrei, 3 years ago)
  • misc/syntax/Syntax.in

    From d50b6768f02d905d21a2f32352869f54b66dffcb Mon Sep 17 00:00:00 2001
    From: Purdea Andrei <andrei.purdea@intel.com>
    Date: Thu, 11 Mar 2021 13:28:36 +0200
    Subject: [PATCH] Add the .vh and .svh common file extensions to be also picked
     up by the verilog/systemverilog syntax highlighter.
    
    ---
     misc/syntax/Syntax.in | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/misc/syntax/Syntax.in b/misc/syntax/Syntax.in
    index 43f02e8c4..5bde4573f 100644
    a b include cabal.syntax 
    235235file ..\*\\.(?i:n)$ Nemerle\sProgram 
    236236include nemerle.syntax 
    237237 
    238 file ..\*\\.(?i:(v|sv))$ Verilog/SystemVerilog\sDevice\sDescription 
     238file ..\*\\.(?i:(v|sv|vh|svh))$ Verilog/SystemVerilog\sDevice\sDescription 
    239239include verilog.syntax 
    240240 
    241241file ..\*\\.(?i:hdl|vhdl?)$ VHDL\sDevice\sDescription