aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/diagnostic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
-rw-r--r--runtime/lua/vim/diagnostic.lua16
1 files changed, 7 insertions, 9 deletions
diff --git a/runtime/lua/vim/diagnostic.lua b/runtime/lua/vim/diagnostic.lua
index 6d2c212dfc..a82a61eeb7 100644
--- a/runtime/lua/vim/diagnostic.lua
+++ b/runtime/lua/vim/diagnostic.lua
@@ -891,15 +891,13 @@ M.handlers.signs = {
local sign = vim.fn.sign_getdefined(name)[1]
if sign then
local severity = M.severity[v:upper()]
- if vim.fn.has('nvim-0.11') == 1 then
- vim.deprecate(
- 'Defining diagnostic signs with :sign-define or sign_define()',
- 'vim.diagnostic.config()',
- '0.12',
- nil,
- false
- )
- end
+ vim.deprecate(
+ 'Defining diagnostic signs with :sign-define or sign_define()',
+ 'vim.diagnostic.config()',
+ '0.12',
+ nil,
+ false
+ )
if not opts.signs.text then
opts.signs.text = {}