You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ You have to run the `require("copilot").setup(options)` function in order to sta
27
27
Because the copilot server takes some time to start up, I HIGHLY recommend that you load copilot after startup. This can be done in multiple ways, the best one will depend on your existing config and the speed of your machine:
28
28
29
29
1. On 'VimEnter' + Defer: (My preferred method, works well with fast configs)
30
-
```
31
-
use{
30
+
```lua
31
+
use{
32
32
"zbirenbaum/copilot.lua",
33
33
event= {"VimEnter"},
34
34
config=function()
@@ -39,25 +39,25 @@ use{
39
39
}
40
40
```
41
41
2. Load After Statusline + defer: (If option (1) causes statusline to flicker, try this)
42
-
```
43
-
["zbirenbaum/copilot.lua"] = {
42
+
```lua
43
+
use {
44
44
"zbirenbaum/copilot.lua",
45
45
after='feline.nvim', --whichever statusline plugin you use here
0 commit comments