Skip to content

Commit

Permalink
Update Emacs config section in README.md (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlarumbe authored Dec 20, 2023
1 parent b94928f commit c376398
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,15 @@ All of these can be used with VSC's 'Remote - Containers' Extension as follows:
# Emacs extension
Subdir `emacs-client` contains instructions and an example configuration init file for use with emacs, including a LSP client that allows to have ghdl-ls integrated in Emacs.
It can be also set up automatically by installing the package
[`vhdl-ext`](https://github.com/gmlarumbe/vhdl-ext/) and adding the
following snippet to your config:
```elisp
(require 'vhdl-ext)
(vhdl-ext-mode-setup)
(vhdl-ext-eglot-set-server 've-ghdl-ls) ;`eglot' config
(vhdl-ext-lsp-set-server 've-ghdl-ls) ; `lsp' config
```

0 comments on commit c376398

Please sign in to comment.