@@ -273,13 +273,16 @@ require('lazy').setup({
273
273
-- See `:help gitsigns` to understand what the configuration keys do
274
274
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
275
275
' lewis6991/gitsigns.nvim' ,
276
+ --- @module ' gitsigns'
277
+ --- @type Gitsigns.Config
278
+ --- @diagnostic disable-next-line : missing-fields
276
279
opts = {
277
280
signs = {
278
- add = { text = ' +' },
279
- change = { text = ' ~' },
280
- delete = { text = ' _' },
281
- topdelete = { text = ' ‾' },
282
- changedelete = { text = ' ~' },
281
+ add = { text = ' +' }, --- @diagnostic disable-line : missing-fields
282
+ change = { text = ' ~' }, --- @diagnostic disable-line : missing-fields
283
+ delete = { text = ' _' }, --- @diagnostic disable-line : missing-fields
284
+ topdelete = { text = ' ‾' }, --- @diagnostic disable-line : missing-fields
285
+ changedelete = { text = ' ~' }, --- @diagnostic disable-line : missing-fields
283
286
},
284
287
},
285
288
},
@@ -301,6 +304,9 @@ require('lazy').setup({
301
304
{ -- Useful plugin to show you pending keybinds.
302
305
' folke/which-key.nvim' ,
303
306
event = ' VimEnter' , -- Sets the loading event to 'VimEnter'
307
+ --- @module ' which-key'
308
+ --- @type wk.Opts
309
+ --- @diagnostic disable-next-line : missing-fields
304
310
opts = {
305
311
-- delay between pressing a key and opening which-key (milliseconds)
306
312
-- this setting is independent of vim.o.timeoutlen
@@ -468,6 +474,9 @@ require('lazy').setup({
468
474
-- used for completion, annotations and signatures of Neovim apis
469
475
' folke/lazydev.nvim' ,
470
476
ft = ' lua' ,
477
+ --- @module ' lazydev'
478
+ --- @type lazydev.Config
479
+ --- @diagnostic disable-next-line : missing-fields
471
480
opts = {
472
481
library = {
473
482
-- Load luvit types when the `vim.uv` word is found
@@ -482,7 +491,13 @@ require('lazy').setup({
482
491
-- Automatically install LSPs and related tools to stdpath for Neovim
483
492
-- Mason must be loaded before its dependents so we need to set it up here.
484
493
-- NOTE: `opts = {}` is the same as calling `require('mason').setup({})`
485
- { ' mason-org/mason.nvim' , opts = {} },
494
+ {
495
+ ' mason-org/mason.nvim' ,
496
+ --- @module ' mason.settings'
497
+ --- @type MasonSettings
498
+ --- @diagnostic disable-next-line : missing-fields
499
+ opts = {},
500
+ },
486
501
' mason-org/mason-lspconfig.nvim' ,
487
502
' WhoIsSethDaniel/mason-tool-installer.nvim' ,
488
503
@@ -774,6 +789,8 @@ require('lazy').setup({
774
789
desc = ' [F]ormat buffer' ,
775
790
},
776
791
},
792
+ --- @module ' conform'
793
+ --- @type conform.setupOpts
777
794
opts = {
778
795
notify_on_error = false ,
779
796
format_on_save = function (bufnr )
@@ -834,8 +851,8 @@ require('lazy').setup({
834
851
},
835
852
' folke/lazydev.nvim' ,
836
853
},
837
- --- @module ' blink.cmp'
838
- --- @type blink.cmp.Config
854
+ --- @module ' blink.cmp'
855
+ --- @type blink.cmp.Config
839
856
opts = {
840
857
keymap = {
841
858
-- 'default' (recommended) for mappings similar to built-in completions
@@ -923,7 +940,15 @@ require('lazy').setup({
923
940
},
924
941
925
942
-- Highlight todo, notes, etc in comments
926
- { ' folke/todo-comments.nvim' , event = ' VimEnter' , dependencies = { ' nvim-lua/plenary.nvim' }, opts = { signs = false } },
943
+ {
944
+ ' folke/todo-comments.nvim' ,
945
+ event = ' VimEnter' ,
946
+ dependencies = { ' nvim-lua/plenary.nvim' },
947
+ --- @module ' todo-comments'
948
+ --- @type TodoOptions
949
+ --- @diagnostic disable-next-line : missing-fields
950
+ opts = { signs = false },
951
+ },
927
952
928
953
{ -- Collection of various small independent plugins/modules
929
954
' echasnovski/mini.nvim' ,
@@ -967,6 +992,9 @@ require('lazy').setup({
967
992
build = ' :TSUpdate' ,
968
993
main = ' nvim-treesitter.configs' , -- Sets main module to use for opts
969
994
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
995
+ --- @module ' nvim-treesitter'
996
+ --- @type TSConfig
997
+ --- @diagnostic disable-next-line : missing-fields
970
998
opts = {
971
999
ensure_installed = { ' bash' , ' c' , ' diff' , ' html' , ' lua' , ' luadoc' , ' markdown' , ' markdown_inline' , ' query' , ' vim' , ' vimdoc' },
972
1000
-- Autoinstall languages that are not installed
@@ -1014,7 +1042,7 @@ require('lazy').setup({
1014
1042
-- Or use telescope!
1015
1043
-- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
1016
1044
-- you can continue same window with `<space>sr` which resumes last telescope search
1017
- }, {
1045
+ }, { --- @diagnostic disable-line : missing-fields
1018
1046
ui = {
1019
1047
-- If you are using a Nerd Font: set icons to an empty table which will use the
1020
1048
-- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table
0 commit comments