 ;;    modi/verilog-find-parent-module (interactive)
 ;;    modi/verilog-selective-indent
 ;;    modi/verilog-compile
-;;    convert end-block comments to block names
+;;    convert block-end comments to block names
 ;;    Do not open all `included files
 ;;  hideshow
 ;;  hydra-verilog-template

      (interactive)
      (modi/verilog-compile '(4)))

;;;; convert end-block comments to block names
    (defun modi/verilog-end-block-comments-to-block-names ()
      "Convert valid end-block comments to ': BLOCK_NAME'.
Reference: IEEE 1800-2012 SystemVerilog Section 9.3.4 Block Names.

Examples: endmodule // module_name             → endmodule : module_name
          endfunction // some comment          → endfunction // some comment

      ;; just in comments). To do the highlighting intelligently, install the
      ;; `fic-mode' package - https://github.com/lewang/fic-mode

      ;; Convert block-end comments to ': BLOCK_NAME' in verilog-mode.
      (add-hook 'before-save-hook #'modi/verilog-block-end-comments-to-block-names nil :local)

      ;; Replace tabs with spaces when saving files in verilog-mode.
      (add-hook 'before-save-hook #'modi/untabify-buffer nil :local)
