Skip to content

Commit 36cb149

Browse files
author
Zhe Yu
committed
docs(nvim): Vectorise help files notify message
1 parent a9c0106 commit 36cb149

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

docs/neovim/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ option explained below.
179179

180180
```lua
181181
---@module "vectorcode"
182-
opts = {
182+
require('codecompanion').setup({
183183
extensions = {
184184
vectorcode = {
185185
---@type VectorCode.CodeCompanion.ExtensionOpts
@@ -222,7 +222,7 @@ opts = {
222222
},
223223
},
224224
}
225-
}
225+
})
226226
```
227227

228228
The following are the common options that all tools supports:
@@ -292,6 +292,7 @@ require('codecompanion').setup{
292292
vectorcode = {
293293
---@type VectorCode.CodeCompanion.ExtensionOpts
294294
opts = {
295+
---@type table<string, VectorCode.CodeCompanion.PromptFactory.Opts>
295296
prompt_library = {
296297
{
297298
["Neovim Tutor"] = {

lua/vectorcode/integrations/codecompanion/prompts/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Here's my question:
119119
if result ~= nil and not vim.tbl_isempty(result) then
120120
vim.schedule_wrap(vim.notify)(
121121
string.format(
122-
"Vectorised %d files at `%s`.",
122+
"Vectorised %d new files.",
123123
result.add or 0,
124124
opts.project_root
125125
)

0 commit comments

Comments
 (0)