Skip to content

Commit a65343f

Browse files
committed
Merge branch 'doc' of gitea:blob42/codegpt-ng.nvim into doc
2 parents ecaf6f1 + d3449c9 commit a65343f

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# codegpt-ng.nvim
22

3-
**codegpt-ng** is a minimalist plugin for neovim that provides commands to interact with AI backends. The focus is around code related usages. So code completion, refactorings, generating docs, etc.
3+
**codegpt-ng** is a minimalist AI plugin for neovim centered around a command based workflow. It has full support for Ollama, OpenAI, Azure, Anthropic and Groc APIs. You can easilly define new commands, custom prompts with a template system, and model configurations without Lua code.
44

55
This is a fork of the original **CodeGPT** repository from github user **@dpayne**.
66
All credit goes to him for the initial work.
@@ -16,8 +16,8 @@ This fork does the following:
1616
- **Strips thinking tokens** from replies if the model forgets to use codeblocks
1717
- **New callback types**: `insert_lines` and `prepend_lines`
1818
- **Model definition inheritance**: Define models that inherit other model parameters
19-
- **Refactored for idiomatic Lua** and neovim plugin style
20-
- **Simplified command system** with explicit configuration
19+
- **Refactored** for idiomatic Lua and neovim plugin style
20+
- **Simplified command definition** with explicit configuration specification
2121
- **Chat History**: Add example messages in a command definition
2222
- **Tests with plenary library**
2323
- **Fixed statusline** integration
@@ -105,7 +105,6 @@ The top-level command is `:Chat`. The behavior is different depending on whether
105105

106106
* `:Chat <command>`: if there is only one argument and that argument matches a command, it will invoke that command with the given text selection.
107107

108-
In the below example `:Chat tests` will attempt to write units for the selected code.
109108

110109
Here are a few example commands to illustrate it:
111110

@@ -120,6 +119,8 @@ Here are a few example commands to illustrate it:
120119

121120
#### Tests
122121

122+
In the below example `:Chat tests` will attempt to write units for the selected code.
123+
123124
<div align="center">
124125
<video controls muted src="https://github.com/user-attachments/assets/b185184b-82ec-4e7f-9e59-39bb44e7e7fa"></video>
125126
</div>

examples/chat.gif

-7.18 MB
Binary file not shown.

examples/code_edit.gif

-2.66 MB
Binary file not shown.

examples/completion.gif

-1.4 MB
Binary file not shown.

examples/tests.gif

-4.5 MB
Binary file not shown.

0 commit comments

Comments
 (0)