@@ -67,15 +67,15 @@ Snippets for your preferred package manager:
67
67
``` lua
68
68
-- lazy.nvim
69
69
{
70
- " robitx/gp.nvim" ,
71
- config = function ()
72
- require ( " gp " ). setup ()
73
-
74
- -- or setup with your own config (see Install > Configuration in Readme)
75
- -- require("gp").setup(config )
70
+ " robitx/gp.nvim" ,
71
+ config = function ()
72
+ local conf = {
73
+ -- For customization, refer to Install > Configuration in the Documentation/Readme
74
+ }
75
+ require (" gp" ).setup (conf )
76
76
77
- -- shortcuts might be setup here (see Usage > Shortcuts in Readme)
78
- end ,
77
+ -- Setup shortcuts here (see Usage > Shortcuts in the Documentation/ Readme)
78
+ end ,
79
79
}
80
80
```
81
81
@@ -84,12 +84,12 @@ Snippets for your preferred package manager:
84
84
use ({
85
85
" robitx/gp.nvim" ,
86
86
config = function ()
87
- require ( " gp " ). setup ()
88
-
89
- -- or setup with your own config (see Install > Configuration in Readme)
90
- -- require("gp").setup(config )
87
+ local conf = {
88
+ -- For customization, refer to Install > Configuration in the Documentation/Readme
89
+ }
90
+ require (" gp" ).setup (conf )
91
91
92
- -- shortcuts might be setup here (see Usage > Shortcuts in Readme)
92
+ -- Setup shortcuts here (see Usage > Shortcuts in the Documentation/ Readme)
93
93
end ,
94
94
})
95
95
```
@@ -98,12 +98,12 @@ use({
98
98
-- vim-plug
99
99
Plug ' robitx/gp.nvim'
100
100
101
- require ( " gp " ). setup ()
102
-
103
- -- or setup with your own config (see Install > Configuration in Readme)
104
- -- require("gp").setup(config )
101
+ local conf = {
102
+ -- For customization, refer to Install > Configuration in the Documentation/Readme
103
+ }
104
+ require (" gp" ).setup (conf )
105
105
106
- -- shortcuts might be setup here (see Usage > Shortcuts in Readme)
106
+ -- Setup shortcuts here (see Usage > Shortcuts in the Documentation/ Readme)
107
107
```
108
108
## 2. OpenAI API key
109
109
0 commit comments