Change default format.deprecated value

This commit is contained in:
hrsh7th
2021-09-16 12:54:51 +09:00
parent c2e7736260
commit ca77ec6dcc
2 changed files with 4 additions and 2 deletions

View File

@@ -356,7 +356,9 @@ The documentation window's max height.
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)

View File

@@ -61,7 +61,7 @@ return function()
mapping = {},
formatting = {
deprecated = true,
deprecated = false,
format = function(_, vim_item)
return vim_item
end,