" Vim syntax file " Language: HDL " Maintainer: Severyn Kozak " Latest Revision: 11 November 2014 if version < 600 syntax clear endif " The `.hdl` extension is reserved for the `vhdl` filetype, and, by the time " this plugin is sourced, Vim has already loaded the `vhdl` ftplugin files, " which contain some undesired settings. The fullproof way to ignore them is to " prevent Vim from ever setting the `vhdl` filetype, which can only be done by " having the user specify the following: " " au BufNewFile,BufRead *.hdl setfiletype hdl " " in their vimrc, which is messy. Best to let the plugin do the work just by " explicitly overriding the settings that we don't want, like the following. setl indentexpr= setl formatoptions+=or let b:current_syntax = "hdl" let did_load_filetypes = 1 syn match _hdl_comment_inline "\/\/.*" syn match _hdl_delimiter "[,;:.]" syn match _hdl_assignment "=" syn match _hdl_number "\v(\w)@