From 90c5bebfde12fa50775df97e4405a0b62ced9d40 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 20 Aug 2024 09:29:21 +0200 Subject: nvim: remove diagnostics hints --- .config/nvim/lua/plugins/cmp.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugins/cmp.lua b/.config/nvim/lua/plugins/cmp.lua index 5fdc741..884e778 100644 --- a/.config/nvim/lua/plugins/cmp.lua +++ b/.config/nvim/lua/plugins/cmp.lua @@ -53,7 +53,6 @@ return { TypeParameter = "", } - ---@diagnostic disable-next-line: missing-fields cmp.setup({ enabled = function() -- disable autocompletion in telescope prompt @@ -61,7 +60,6 @@ return { return buftype ~= "prompt" end, - ---@diagnostic disable-next-line: missing-fields completion = { completeopt = "menu,menuone,noselect", }, @@ -100,7 +98,6 @@ return { end end, { "i", "s" }), }), - ---@diagnostic disable-next-line: missing-fields formatting = { fields = { "kind", "abbr", "menu" }, format = function(entry, vim_item) @@ -137,7 +134,6 @@ return { ) -- use omnifunc in vimwiki to complete paths and tags - ---@diagnostic disable-next-line: missing-fields cmp.setup.filetype('vimwiki', { sources = cmp.config.sources({ { name = "omni" }, -- cgit v1.2.3-70-g09d2