-;; Time-stamp: <2016-02-19 17:12:10 kmodi>
+;; Time-stamp: <2016-02-23 22:46:33 kmodi>
 
 ;; Verilog
 

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

      ;; ;; Enable orgstruct mode
      ;; (setq-local orgstruct-heading-prefix-regexp "//; ")
      ;; (turn-on-orgstruct++)

      (with-eval-after-load 'imenu
        (setq imenu-generic-expression
              (append imenu-generic-expression
                      modi/verilog-imenu-generic-expression)))

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

      (with-eval-after-load 'outshine
        ;; Force the `imenu-generic-expression' to contain
        ;; `modi/verilog-imenu-generic-expression' for `verilog-mode' by making
        ;; sure that `modi/verilog-outshine-imenu' is *appended* to
        ;; `outline-minor-mode-hook' after `outshine-hook-function'.
        (when (member 'outshine-hook-function outline-minor-mode-hook)
          (add-hook 'outline-minor-mode-hook
                    #'modi/verilog-outshine-imenu :append :local))))

    ;; *Append* `my/verilog-mode-customizations' to `verilog-mode-hook' so that
    ;; that function is run very last of all other functions added to that hook.

;;    modi/verilog-jump-to-module-at-point (interactive)
;;    modi/verilog-find-parent-module (interactive)
;;    my/verilog-selective-indent
;;  hideshow
;;  hydra-verilog-template
;;  abbrev
;;  my/verilog-mode-customizations
;;    imenu + outshine
;;  Key bindings

(use-package verilog-mode
