@@ -276,13 +276,16 @@ require('lazy').setup({
276276 -- See `:help gitsigns` to understand what the configuration keys do
277277 { -- Adds git related signs to the gutter, as well as utilities for managing changes
278278 ' lewis6991/gitsigns.nvim' ,
279+ --- @module ' gitsigns'
280+ --- @type Gitsigns.Config
281+ --- @diagnostic disable-next-line : missing-fields
279282 opts = {
280283 signs = {
281- add = { text = ' +' },
282- change = { text = ' ~' },
283- delete = { text = ' _' },
284- topdelete = { text = ' ‾' },
285- changedelete = { text = ' ~' },
284+ add = { text = ' +' }, --- @diagnostic disable-line : missing-fields
285+ change = { text = ' ~' }, --- @diagnostic disable-line : missing-fields
286+ delete = { text = ' _' }, --- @diagnostic disable-line : missing-fields
287+ topdelete = { text = ' ‾' }, --- @diagnostic disable-line : missing-fields
288+ changedelete = { text = ' ~' }, --- @diagnostic disable-line : missing-fields
286289 },
287290 },
288291 },
@@ -304,6 +307,9 @@ require('lazy').setup({
304307 { -- Useful plugin to show you pending keybinds.
305308 ' folke/which-key.nvim' ,
306309 event = ' VimEnter' , -- Sets the loading event to 'VimEnter'
310+ --- @module ' which-key'
311+ --- @type wk.Opts
312+ --- @diagnostic disable-next-line : missing-fields
307313 opts = {
308314 -- delay between pressing a key and opening which-key (milliseconds)
309315 -- this setting is independent of vim.o.timeoutlen
@@ -472,6 +478,9 @@ require('lazy').setup({
472478 -- used for completion, annotations and signatures of Neovim apis
473479 ' folke/lazydev.nvim' ,
474480 ft = ' lua' ,
481+ --- @module ' lazydev'
482+ --- @type lazydev.Config
483+ --- @diagnostic disable-next-line : missing-fields
475484 opts = {
476485 library = {
477486 -- Load luvit types when the `vim.uv` word is found
@@ -486,7 +495,13 @@ require('lazy').setup({
486495 -- Automatically install LSPs and related tools to stdpath for Neovim
487496 -- Mason must be loaded before its dependents so we need to set it up here.
488497 -- NOTE: `opts = {}` is the same as calling `require('mason').setup({})`
489- { ' mason-org/mason.nvim' , opts = {} },
498+ {
499+ ' mason-org/mason.nvim' ,
500+ --- @module ' mason.settings'
501+ --- @type MasonSettings
502+ --- @diagnostic disable-next-line : missing-fields
503+ opts = {},
504+ },
490505 ' mason-org/mason-lspconfig.nvim' ,
491506 ' WhoIsSethDaniel/mason-tool-installer.nvim' ,
492507
@@ -800,6 +815,8 @@ require('lazy').setup({
800815 desc = ' [F]ormat buffer' ,
801816 },
802817 },
818+ --- @module ' conform'
819+ --- @type conform.setupOpts
803820 opts = {
804821 notify_on_error = false ,
805822 format_on_save = function (bufnr )
@@ -862,8 +879,8 @@ require('lazy').setup({
862879 },
863880 ' folke/lazydev.nvim' ,
864881 },
865- --- @module ' blink.cmp'
866- --- @type blink.cmp.Config
882+ --- @module ' blink.cmp'
883+ --- @type blink.cmp.Config
867884 opts = {
868885 keymap = {
869886 -- 'default' (recommended) for mappings similar to built-in completions
@@ -987,7 +1004,15 @@ require('lazy').setup({
9871004 },
9881005
9891006 -- Highlight todo, notes, etc in comments
990- { ' folke/todo-comments.nvim' , event = ' VimEnter' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
1007+ {
1008+ ' folke/todo-comments.nvim' ,
1009+ event = ' VimEnter' ,
1010+ dependencies = { ' nvim-lua/plenary.nvim' },
1011+ --- @module ' todo-comments'
1012+ --- @type TodoOptions
1013+ --- @diagnostic disable-next-line : missing-fields
1014+ opts = { signs = false },
1015+ },
9911016
9921017 { -- Collection of various small independent plugins/modules
9931018 ' echasnovski/mini.nvim' ,
@@ -1031,6 +1056,9 @@ require('lazy').setup({
10311056 build = ' :TSUpdate' ,
10321057 main = ' nvim-treesitter.configs' , -- Sets main module to use for opts
10331058 -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
1059+ --- @module ' nvim-treesitter'
1060+ --- @type TSConfig
1061+ --- @diagnostic disable-next-line : missing-fields
10341062 opts = {
10351063 ensure_installed = { ' bash' , ' c' , ' diff' , ' html' , ' lua' , ' luadoc' , ' markdown' , ' markdown_inline' , ' query' , ' vim' , ' vimdoc' },
10361064 -- Autoinstall languages that are not installed
@@ -1087,7 +1115,7 @@ require('lazy').setup({
10871115 -- Or use telescope!
10881116 -- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
10891117 -- you can continue same window with `<space>sr` which resumes last telescope search
1090- }, {
1118+ }, { --- @diagnostic disable-line : missing-fields
10911119 ui = {
10921120 -- If you are using a Nerd Font: set icons to an empty table which will use the
10931121 -- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table
0 commit comments