fix: don't show non-working configuration in deprecation suggestion (#946)
As reported here: https://github.com/hrsh7th/nvim-cmp/issues/936
This commit is contained in:
@@ -197,7 +197,7 @@ config.normalize = function(c)
|
||||
{ 'documentation', 'WarningMsg' },
|
||||
{ ' is deprecated.\n', 'Normal' },
|
||||
{ '[nvim-cmp] Please use ', 'Normal' },
|
||||
{ 'window.documentation= "native"', 'WarningMsg' },
|
||||
{ 'window.documentation = cmp.config.window.bordered()', 'WarningMsg' },
|
||||
{ ' instead.', 'Normal' },
|
||||
}, true, {})
|
||||
c.window = c.window or {}
|
||||
|
||||
Reference in New Issue
Block a user