Change default format.deprecated value
This commit is contained in:
@@ -356,7 +356,9 @@ The documentation window's max height.
|
|||||||
|
|
||||||
Specify deprecated candidate should be marked as deprecated or not.
|
Specify deprecated candidate should be marked as deprecated or not.
|
||||||
|
|
||||||
Default: `true`
|
This option is useful but disabled by default because sometimes, this option can break your terminal appearance.
|
||||||
|
|
||||||
|
Default: `false`
|
||||||
|
|
||||||
#### formatting.format (type: fun(entry: cmp.Entry, vim_item: vim.CompletedItem): vim.CompletedItem)
|
#### formatting.format (type: fun(entry: cmp.Entry, vim_item: vim.CompletedItem): vim.CompletedItem)
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ return function()
|
|||||||
mapping = {},
|
mapping = {},
|
||||||
|
|
||||||
formatting = {
|
formatting = {
|
||||||
deprecated = true,
|
deprecated = false,
|
||||||
format = function(_, vim_item)
|
format = function(_, vim_item)
|
||||||
return vim_item
|
return vim_item
|
||||||
end,
|
end,
|
||||||
|
|||||||
Reference in New Issue
Block a user