Skip to content

Commit

Permalink
release: version 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon committed Jan 30, 2024
1 parent 45745ad commit 82d6c0b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# helix-gpt

![Build Status](https://github.com/leona/helix-gpt/actions/workflows/release.yml/badge.svg)
![Github Release](https://img.shields.io/badge/release-v0.22-blue)
![Github Release](https://img.shields.io/badge/release-v0.23-blue)

Code assistant language server for [Helix](https://github.com/helix-editor/helix) with support for Copilot + OpenAI.

Expand All @@ -16,10 +16,10 @@ Code actions example (space + a)
### How?

When a trigger character is pressed it will request a completion and use the entire file as context.
Triggers characters: `["{", "(", " ", "."]`
You can also use `ctrl+x` to manually trigger it.

Default triggers characters: `["{", "(", " "]` can be overwritten with `--triggerCharacters "{||(|| "`

Use `ctrl+x` to manually trigger completions, and `space+a` to trigger code actions that only use the selected code as context.
Code actions are triggered by `space+a` and only use the selected code as context.

### Install

Expand All @@ -28,17 +28,17 @@ This was made to run with [Bun](https://bun.sh/), but you can also use a precomp
#### Without Bun

```bash
wget https://github.com/leona/helix-gpt/releases/download/0.22/helix-gpt-0.22-x86_64-linux.tar.gz \
wget https://github.com/leona/helix-gpt/releases/download/0.23/helix-gpt-0.23-x86_64-linux.tar.gz \
-O /tmp/helix-gpt.tar.gz \
&& tar -zxvf /tmp/helix-gpt.tar.gz \
&& mv helix-gpt-0.22-x86_64-linux /usr/bin/helix-gpt \
&& mv helix-gpt-0.23-x86_64-linux /usr/bin/helix-gpt \
&& chmod +x /usr/bin/helix-gpt
```

#### With Bun (tested with 1.0.25)

```bash
wget https://github.com/leona/helix-gpt/releases/download/0.22/helix-gpt-0.22.js -O helix-gpt.js
wget https://github.com/leona/helix-gpt/releases/download/0.23/helix-gpt-0.23.js -O helix-gpt.js
```

### Configuration
Expand Down Expand Up @@ -124,4 +124,3 @@ tail -f /app/helix-gpt.log # Or wherever you set --logFile to
- Single config for all languages (pending [#9318](https://github.com/helix-editor/helix/pull/9318))
- Support workspace commands to toggle functionality (pending Helix support for merging workspace commands)
- Better test coverage
- Async load completions to show other language server results immediately (pending Helix support)

0 comments on commit 82d6c0b

Please sign in to comment.