Skip to content

Commit cf67590

Browse files
samiulsamiAntoineGS
authored andcommitted
fix: formatting and indentation
Signed-off-by: sami <sami@appscode.com>
1 parent 8e4e30f commit cf67590

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

lua/copilot/suggestion/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ function M.accept(modifier)
603603
ctx.accepted_partial = true
604604
ignore_next_cursor_moved = true
605605
else
606-
M.clear_preview()
606+
M.clear_preview()
607607
newText = suggestion.text
608608
end
609609

plugin/copilot.lua

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@ local completion_store = {
22
[""] = { "auth", "attach", "detach", "disable", "enable", "panel", "status", "suggestion", "toggle", "version" },
33
auth = { "signin", "signout", "info" },
44
panel = { "accept", "jump_next", "jump_prev", "open", "refresh", "toggle", "close", "is_open" },
5-
suggestion = { "accept", "accept_line", "accept_word", "dismiss", "next", "prev", "toggle_auto_trigger", "clear_preview", "update_preview" },
5+
suggestion = {
6+
"accept",
7+
"accept_line",
8+
"accept_word",
9+
"dismiss",
10+
"next",
11+
"prev",
12+
"toggle_auto_trigger",
13+
"clear_preview",
14+
"update_preview",
15+
},
616
workspace = { "add" },
717
}
818

0 commit comments

Comments
 (0)