File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ function config.rust_crates()
116116 thousands_separator = " ." ,
117117 notification_title = " Crates" ,
118118 curl_args = { " -sL" , " --retry" , " 1" },
119- disable_invalid_feature_diagnostic = false ,
120119 text = {
121120 loading = " Loading" ,
122121 version = " %s" ,
@@ -229,8 +228,11 @@ function config.rust_crates()
229228 jump_back = { " <c-o>" , " <C-RightMouse>" },
230229 },
231230 },
232- src = {
231+ completion = {
233232 insert_closing_quote = true ,
233+ cmp = {
234+ enabled = true ,
235+ },
234236 text = {
235237 prerelease = " pre-release " ,
236238 yanked = " yanked " ,
@@ -239,6 +241,11 @@ function config.rust_crates()
239241 enabled = false ,
240242 name = " Crates" ,
241243 },
244+ crates = {
245+ enabled = true , -- disabled by default
246+ max_results = 8 , -- The maximum number of search results to display
247+ min_chars = 3 , -- The minimum number of charaters to type before completions begin appearing
248+ },
242249 },
243250 null_ls = {
244251 enabled = false ,
Original file line number Diff line number Diff line change 7575
7676lsp ({
7777 " mrcjkb/rustaceanvim" ,
78- version = " ^3 " , -- Recommended
78+ version = " ^5 " , -- Recommended
7979 ft = { " rust" },
8080 config = function ()
8181 vim .g .rustaceanvim = {
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ function config.fidget()
9898 local relative = " editor"
9999 fidget .setup ({
100100 text = {
101- spinner = " moon " ,
101+ spinner = " meter " ,
102102 -- spinner = {
103103 -- " ",
104104 -- " ",
You can’t perform that action at this time.
0 commit comments