summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2024-08-20 09:29:21 +0200
committerYigit Sever2024-08-20 09:29:21 +0200
commit90c5bebfde12fa50775df97e4405a0b62ced9d40 (patch)
tree3c96ff1761ac09d7b332fd0d1531c6403d8b337b
parent588536a81bb5090ab9b15f56b40ac1280338f567 (diff)
downloaddotfiles-90c5bebfde12fa50775df97e4405a0b62ced9d40.tar.gz
dotfiles-90c5bebfde12fa50775df97e4405a0b62ced9d40.tar.bz2
dotfiles-90c5bebfde12fa50775df97e4405a0b62ced9d40.zip
nvim: remove diagnostics hints
-rw-r--r--.config/nvim/lua/plugins/cmp.lua4
1 files changed, 0 insertions, 4 deletions
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 {
53 TypeParameter = "", 53 TypeParameter = "",
54 } 54 }
55 55
56 ---@diagnostic disable-next-line: missing-fields
57 cmp.setup({ 56 cmp.setup({
58 enabled = function() 57 enabled = function()
59 -- disable autocompletion in telescope prompt 58 -- disable autocompletion in telescope prompt
@@ -61,7 +60,6 @@ return {
61 60
62 return buftype ~= "prompt" 61 return buftype ~= "prompt"
63 end, 62 end,
64 ---@diagnostic disable-next-line: missing-fields
65 completion = { 63 completion = {
66 completeopt = "menu,menuone,noselect", 64 completeopt = "menu,menuone,noselect",
67 }, 65 },
@@ -100,7 +98,6 @@ return {
100 end 98 end
101 end, { "i", "s" }), 99 end, { "i", "s" }),
102 }), 100 }),
103 ---@diagnostic disable-next-line: missing-fields
104 formatting = { 101 formatting = {
105 fields = { "kind", "abbr", "menu" }, 102 fields = { "kind", "abbr", "menu" },
106 format = function(entry, vim_item) 103 format = function(entry, vim_item)
@@ -137,7 +134,6 @@ return {
137 ) 134 )
138 135
139 -- use omnifunc in vimwiki to complete paths and tags 136 -- use omnifunc in vimwiki to complete paths and tags
140 ---@diagnostic disable-next-line: missing-fields
141 cmp.setup.filetype('vimwiki', { 137 cmp.setup.filetype('vimwiki', {
142 sources = cmp.config.sources({ 138 sources = cmp.config.sources({
143 { name = "omni" }, 139 { name = "omni" },