Skip to content

Commit

Permalink
Merge pull request #39 from RoloEdits/helix-superhtml
Browse files Browse the repository at this point in the history
docs(README): update helix support details
  • Loading branch information
kristoff-it authored Sep 30, 2024
2 parents 4bcd494 + 9f81f59 commit b684bbe
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ Install the [Super HTML VSCode extension](https://marketplace.visualstudio.com/i
```

#### Helix
Add to your `.config/helix/languages.toml`:

In versions later than `24.07` `superhtml` is supported out of the box, simply add executable to your `PATH`.

For `24.07` and earlier, add to your `.config/helix/languages.toml`:
```toml
[language-server.superhtml-lsp]
command = "superhtml"
Expand Down Expand Up @@ -191,17 +194,17 @@ autocmd filetype html setlocal formatprg=superhtml\ fmt\ --stdin
```

#### Other editors
Follow your editor specific intructions on how to define a new Language Server for a given language / file format.
Follow your editor specific instructions on how to define a new Language Server for a given language / file format.

*(Also feel free to contribute more specific intructions to this readme / add files under the `editors/` subdirectory).*
*(Also feel free to contribute more specific instructions to this readme / add files under the `editors/` subdirectory).*

## Templating Language Library
SuperHTML is also a HTML templating language. More on that soon.

## Contributing
SuperHTML tracks the latest Zig release (0.13.0 at the moment of writing).

### Contributing to the HTML paser & LSP
### Contributing to the HTML parser & LSP
Contributing to the HTML parser and LSP doesn't require you to be familiar with the templating language, basically limiting the scope of what you have to worry about to:

- `src/cli.zig`
Expand Down

0 comments on commit b684bbe

Please sign in to comment.