Skip to content

Commit

Permalink
docs: better init snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
Robitx authored Jul 21, 2024
1 parent 381c026 commit 2350f3f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ Snippets for your preferred package manager:
```lua
-- lazy.nvim
{
"robitx/gp.nvim",
config = function()
require("gp").setup()

-- or setup with your own config (see Install > Configuration in Readme)
-- require("gp").setup(config)
"robitx/gp.nvim",
config = function()
local conf = {
-- For customization, refer to Install > Configuration in the Documentation/Readme
}
require("gp").setup(conf)

-- shortcuts might be setup here (see Usage > Shortcuts in Readme)
end,
-- Setup shortcuts here (see Usage > Shortcuts in the Documentation/Readme)
end,
}
```

Expand All @@ -84,12 +84,12 @@ Snippets for your preferred package manager:
use({
"robitx/gp.nvim",
config = function()
require("gp").setup()

-- or setup with your own config (see Install > Configuration in Readme)
-- require("gp").setup(config)
local conf = {
-- For customization, refer to Install > Configuration in the Documentation/Readme
}
require("gp").setup(conf)

-- shortcuts might be setup here (see Usage > Shortcuts in Readme)
-- Setup shortcuts here (see Usage > Shortcuts in the Documentation/Readme)
end,
})
```
Expand All @@ -98,12 +98,12 @@ use({
-- vim-plug
Plug 'robitx/gp.nvim'

require("gp").setup()

-- or setup with your own config (see Install > Configuration in Readme)
-- require("gp").setup(config)
local conf = {
-- For customization, refer to Install > Configuration in the Documentation/Readme
}
require("gp").setup(conf)

-- shortcuts might be setup here (see Usage > Shortcuts in Readme)
-- Setup shortcuts here (see Usage > Shortcuts in the Documentation/Readme)
```
## 2. OpenAI API key

Expand Down

0 comments on commit 2350f3f

Please sign in to comment.