Last active
August 29, 2015 14:16
-
-
Save MasWag/4b74f9ac8f1014a73246 to your computer and use it in GitHub Desktop.
flycheck rule of vhdl using ghdl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (flycheck-define-checker vhdl-ghdl | |
| "A VHDL syntax checker using ghdl." | |
| :command ("ghdl" "-s" "--std=93" "--ieee=synopsys" "-fexplicit" source) | |
| :error-patterns | |
| ((error line-start (file-name) ":" line ":" column | |
| ": " (message) line-end)) | |
| :modes vhdl-mode) | |
| (flycheck-set-checker-executable 'vhdl-ghdl) | |
| (add-hook 'vhdl-mode-hook | |
| '(lambda () | |
| (setq flycheck-checker 'vhdl-ghdl) | |
| (flycheck-mode 1))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment