Skip to content

Commit 58f1fc7

Browse files
authored
Stop excluding base::return() and base::function from completions (#768)
* Stop excluding `base::return()` from completions * Stop excluding `base::function` from completions
1 parent 367aa36 commit 58f1fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ark/src/lsp/completions/sources/composite/search_path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn completions_from_search_path(
5353
let mut completions = vec![];
5454

5555
const R_CONTROL_FLOW_KEYWORDS: &[&str] = &[
56-
"if", "else", "for", "in", "while", "repeat", "break", "next", "return", "function",
56+
"if", "else", "for", "in", "while", "repeat", "break", "next",
5757
];
5858

5959
unsafe {

0 commit comments

Comments
 (0)