Skip to content

Commit 61c17d5

Browse files
committed
feat!: deprecate the nvim-cmp, coq_nvim, and null-ls sources
1 parent e2e1579 commit 61c17d5

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

lua/crates/config/init.lua

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -335,15 +335,6 @@ entry(schema_text, {
335335
Format string used when there was an error loading crate information.
336336
]],
337337
})
338-
-- DEPRECATED
339-
entry(M.schema, {
340-
name = "open_programs",
341-
type = STRING_ARRAY_TYPE,
342-
deprecated = {
343-
msg = "`vim.ui.open()` is used instead",
344-
hard = true,
345-
},
346-
})
347338

348339

349340
local schema_hl = section_entry(M.schema, {
@@ -1418,6 +1409,9 @@ entry(schema_completion_cmp, {
14181409
require("crates.completion.cmp").setup()
14191410
<
14201411
]],
1412+
deprecated = {
1413+
msg = "the nvim-cmp source will be removed in the future. Use the in-process language server instead.",
1414+
},
14211415
})
14221416
entry(schema_completion_cmp, {
14231417
name = "use_custom_kind",
@@ -1502,6 +1496,9 @@ entry(schema_completion_coq, {
15021496
description = [[
15031497
Whether to load and register the |coq_nvim| source.
15041498
]],
1499+
deprecated = {
1500+
msg = "the coq_nvim source will be removed in the future. Use the in-process language server instead.",
1501+
},
15051502
})
15061503
entry(schema_completion_coq, {
15071504
name = "name",
@@ -1653,12 +1650,13 @@ entry(schema_completion_crates, {
16531650
complete a crate name.
16541651
]],
16551652
})
1656-
-- deprecated
1653+
-- DEPRECATED
16571654
entry(M.schema, {
16581655
name = "src",
16591656
type = BOOLEAN_TYPE,
16601657
deprecated = {
16611658
new_field = { "completion" },
1659+
hard = true,
16621660
}
16631661
})
16641662

@@ -1673,6 +1671,9 @@ local schema_null_ls = section_entry(M.schema, {
16731671
Configuration options for null-ls.nvim actions.
16741672
]],
16751673
fields = {},
1674+
deprecated = {
1675+
msg = "the null_ls source will be removed in the future. Use the in-process language server instead.",
1676+
},
16761677
})
16771678
entry(schema_null_ls, {
16781679
name = "enabled",

0 commit comments

Comments
 (0)