Skip to content

Commit a70694a

Browse files
committed
fix: formatting and indentation
Signed-off-by: sami <sami@appscode.com>
1 parent 3de3e90 commit a70694a

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
@@ -588,7 +588,7 @@ function M.accept(modifier)
588588
ctx.accepted_partial = true
589589
ignore_next_cursor_moved = true
590590
else
591-
M.clear_preview()
591+
M.clear_preview()
592592
newText = suggestion.text
593593
end
594594

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)