From f724edca0d16e1b6b37b7b0d930e66b3d8b2c6ac Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 19 Jun 2024 21:40:11 +0200 Subject: [PATCH] feat: add type annotations to fix warnings --- lua/neocomplete/menu/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/neocomplete/menu/init.lua b/lua/neocomplete/menu/init.lua index 0c9e007..9c3c7e9 100644 --- a/lua/neocomplete/menu/init.lua +++ b/lua/neocomplete/menu/init.lua @@ -13,6 +13,7 @@ function Menu.new() self.buf = vim.api.nvim_create_buf(false, true) self.winnr = nil self.index = 0 + ---@diagnostic disable-next-line: missing-fields self.scrollbar = {} self.scrollbar.win = nil self.scrollbar.buf = vim.api.nvim_create_buf(false, true)