init.el: Add verilog support
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
c187c778dd
commit
be3816e5b6
1 changed files with 10 additions and 0 deletions
10
init.el
10
init.el
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue