commit 6dc441b64565fb03b6b08b02c3ffaeb140f36884 from: Benjamin Stürz date: Tue Oct 24 12:29:55 2023 UTC Add Verilog commit - 6a4b6d361afb44cf269b7718189312c90f17e05a commit + 6dc441b64565fb03b6b08b02c3ffaeb140f36884 blob - f3ed5e9788fc8d122cb666c9849bda0c54797be1 blob + b62a23a43e9aae5c6b84dcdd975ab47fd8264201 --- config.org +++ config.org @@ -505,6 +505,21 @@ (add-hook 'haskell-mode-hook 'haskell-indent-mode) (add-hook 'haskell-literate-mode-hook 'lsp)) #+end_src +** Verilog +#+begin_src emacs-lisp + (use-package verilog-mode + :defer t + :config + (require 'lsp) + (lsp-register-client + (make-lsp-client :new-connection (lsp-stdio-connection '("svls")) + :major-modes '(verilog-mode) + :priority -1)) + :hook (verilog-mode . (lambda () + (lsp) + (flycheck-mode t) + (add-to-list 'lsp-language-id-configuration '(verilog-mode . "verilog"))))) +#+end_src * Mail #+begin_src emacs-lisp (use-package mu4e