Skip to content

Commit

Permalink
Add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
someone13574 committed May 25, 2024
1 parent 525812d commit 61118c5
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@

# Zed Verilog Extension

Adds Verilog and SystemVerilog support for [Zed](https://zed.dev/).


## Features

- Treesitter based syntax highlighting
- Dianostics
- Auto-completion
- Hover documentation
- Formatting


## Installation

1. Open Zed
2. Open the command pallete
3. Enter `zed: extensions`
4. Search for `Verilog` using the search bar on the extensions page.
5. Press `Install` and the language server will automatically be downloaded.
## Configuration

Configuration for this extension is done in two places. First is by adding "Verilog" your settings file and using the settings documented [here](https://zed.dev/docs/configuring-zed#languages) like so:

```json
"languages": {
"Verilog": {
...
}
}
```

Secondly, you can configure the veridian language server by creating a `veridian.yml` file in your project root and using the settings documented [here](https://github.com/vivekmalneedi/veridian?tab=readme-ov-file#configuration).

> ![NOTE]
> Since this extension doesn't use the verible language server through veridian, verible specific settings in `veridian.yml` will not work.
## Acknowledgements

- [tree-sitter/tree-sitter-verilog](https://github.com/tree-sitter/tree-sitter-verilog) for the treesitter grammar.
- [nvim-treesitter/nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter/tree/master/queries/verilog) for the syntax highlighting Scheme files.
- [chipsalliance/verible](https://github.com/chipsalliance/verible) for the diagnostics and formatting language server.
- [vivekmalneedi/veridian](https://github.com/vivekmalneedi/veridian) for the rest of the language server features.
## License

This project is licensed under the [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) license or the [MIT](http://opensource.org/licenses/MIT) license, at your option. See [COPYRIGHT](./copyright) for more details.

0 comments on commit 61118c5

Please sign in to comment.