init.el: Add verilog support

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-06-23 17:35:00 +05:30
parent c187c778dd
commit be3816e5b6

10
init.el
View file

@ -224,6 +224,16 @@
(use-package gitignore-templates
:defer t)
;; See below 3 links for why config has been set like this
;; https://stackoverflow.com/questions/25517190/missing-complete-candidate-for-verilog-mode-with-company-mode
;; https://github.com/flycheck/flycheck/issues/740
;; https://github.com/flycheck/flycheck/issues/1250
(use-package verilog-mode
:defer t
:config
(add-to-list 'company-keywords-alist (cons 'verilog-mode verilog-keywords))
(setq flycheck-verilog-verilator-executable "verilator_bin"))
;; Custom keybinding
(use-package general
:ensure t