@@ -265,13 +265,16 @@ require('lazy').setup({
265265 -- See `:help gitsigns` to understand what the configuration keys do
266266 { -- Adds git related signs to the gutter, as well as utilities for managing changes
267267 ' lewis6991/gitsigns.nvim' ,
268+ --- @module ' gitsigns'
269+ --- @type Gitsigns.Config
270+ --- @diagnostic disable-next-line : missing-fields
268271 opts = {
269272 signs = {
270- add = { text = ' +' },
271- change = { text = ' ~' },
272- delete = { text = ' _' },
273- topdelete = { text = ' ‾' },
274- changedelete = { text = ' ~' },
273+ add = { text = ' +' }, --- @diagnostic disable-line : missing-fields
274+ change = { text = ' ~' }, --- @diagnostic disable-line : missing-fields
275+ delete = { text = ' _' }, --- @diagnostic disable-line : missing-fields
276+ topdelete = { text = ' ‾' }, --- @diagnostic disable-line : missing-fields
277+ changedelete = { text = ' ~' }, --- @diagnostic disable-line : missing-fields
275278 },
276279 },
277280 },
@@ -293,6 +296,9 @@ require('lazy').setup({
293296 { -- Useful plugin to show you pending keybinds.
294297 ' folke/which-key.nvim' ,
295298 event = ' VimEnter' , -- Sets the loading event to 'VimEnter'
299+ --- @module ' which-key'
300+ --- @type wk.Opts
301+ --- @diagnostic disable-next-line : missing-fields
296302 opts = {
297303 -- delay between pressing a key and opening which-key (milliseconds)
298304 -- this setting is independent of vim.opt.timeoutlen
@@ -460,6 +466,9 @@ require('lazy').setup({
460466 -- used for completion, annotations and signatures of Neovim apis
461467 ' folke/lazydev.nvim' ,
462468 ft = ' lua' ,
469+ --- @module ' lazydev'
470+ --- @type lazydev.Config
471+ --- @diagnostic disable-next-line : missing-fields
463472 opts = {
464473 library = {
465474 -- Load luvit types when the `vim.uv` word is found
@@ -474,7 +483,13 @@ require('lazy').setup({
474483 -- Automatically install LSPs and related tools to stdpath for Neovim
475484 -- Mason must be loaded before its dependents so we need to set it up here.
476485 -- NOTE: `opts = {}` is the same as calling `require('mason').setup({})`
477- { ' williamboman/mason.nvim' , opts = {} },
486+ {
487+ ' williamboman/mason.nvim' ,
488+ --- @module ' mason.settings'
489+ --- @type MasonSettings
490+ --- @diagnostic disable-next-line : missing-fields
491+ opts = {},
492+ },
478493 ' williamboman/mason-lspconfig.nvim' ,
479494 ' WhoIsSethDaniel/mason-tool-installer.nvim' ,
480495
@@ -742,6 +757,8 @@ require('lazy').setup({
742757 desc = ' [F]ormat buffer' ,
743758 },
744759 },
760+ --- @module ' conform'
761+ --- @type conform.setupOpts
745762 opts = {
746763 notify_on_error = false ,
747764 format_on_save = function (bufnr )
@@ -802,8 +819,8 @@ require('lazy').setup({
802819 },
803820 ' folke/lazydev.nvim' ,
804821 },
805- --- @module ' blink.cmp'
806- --- @type blink.cmp.Config
822+ --- @module ' blink.cmp'
823+ --- @type blink.cmp.Config
807824 opts = {
808825 keymap = {
809826 -- 'default' (recommended) for mappings similar to built-in completions
@@ -891,7 +908,15 @@ require('lazy').setup({
891908 },
892909
893910 -- Highlight todo, notes, etc in comments
894- { ' folke/todo-comments.nvim' , event = ' VimEnter' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
911+ {
912+ ' folke/todo-comments.nvim' ,
913+ event = ' VimEnter' ,
914+ dependencies = { ' nvim-lua/plenary.nvim' },
915+ --- @module ' todo-comments'
916+ --- @type TodoOptions
917+ --- @diagnostic disable-next-line : missing-fields
918+ opts = { signs = false },
919+ },
895920
896921 { -- Collection of various small independent plugins/modules
897922 ' echasnovski/mini.nvim' ,
@@ -935,6 +960,9 @@ require('lazy').setup({
935960 build = ' :TSUpdate' ,
936961 main = ' nvim-treesitter.configs' , -- Sets main module to use for opts
937962 -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
963+ --- @module ' nvim-treesitter.configs'
964+ --- @type TSConfig
965+ --- @diagnostic disable-next-line : missing-fields
938966 opts = {
939967 ensure_installed = { ' bash' , ' c' , ' diff' , ' html' , ' lua' , ' luadoc' , ' markdown' , ' markdown_inline' , ' query' , ' vim' , ' vimdoc' },
940968 -- Autoinstall languages that are not installed
@@ -982,7 +1010,7 @@ require('lazy').setup({
9821010 -- Or use telescope!
9831011 -- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
9841012 -- you can continue same window with `<space>sr` which resumes last telescope search
985- }, {
1013+ }, { --- @diagnostic disable-line : missing-fields
9861014 ui = {
9871015 -- If you are using a Nerd Font: set icons to an empty table which will use the
9881016 -- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table
0 commit comments