@@ -1131,6 +1131,95 @@ require('lazy').setup({
11311131 event = ' InsertEnter' ,
11321132 config = true ,
11331133 },
1134+ {
1135+ ' lukas-reineke/indent-blankline.nvim' ,
1136+ main = ' ibl' ,
1137+ --- @module " ibl"
1138+ --- @type ibl.config
1139+ opts = {},
1140+ config = function ()
1141+ local highlight = {
1142+ ' RainbowRed' ,
1143+ ' RainbowYellow' ,
1144+ ' RainbowBlue' ,
1145+ ' RainbowOrange' ,
1146+ ' RainbowGreen' ,
1147+ ' RainbowViolet' ,
1148+ ' RainbowCyan' ,
1149+ }
1150+
1151+ local hooks = require ' ibl.hooks'
1152+ -- create the highlight groups in the highlight setup hook, so they are reset
1153+ -- every time the colorscheme changes
1154+ hooks .register (hooks .type .HIGHLIGHT_SETUP , function ()
1155+ vim .api .nvim_set_hl (0 , ' RainbowRed' , { fg = ' #E06C75' })
1156+ vim .api .nvim_set_hl (0 , ' RainbowYellow' , { fg = ' #E5C07B' })
1157+ vim .api .nvim_set_hl (0 , ' RainbowBlue' , { fg = ' #61AFEF' })
1158+ vim .api .nvim_set_hl (0 , ' RainbowOrange' , { fg = ' #D19A66' })
1159+ vim .api .nvim_set_hl (0 , ' RainbowGreen' , { fg = ' #98C379' })
1160+ vim .api .nvim_set_hl (0 , ' RainbowViolet' , { fg = ' #C678DD' })
1161+ vim .api .nvim_set_hl (0 , ' RainbowCyan' , { fg = ' #56B6C2' })
1162+ end )
1163+
1164+ require (' ibl' ).setup { indent = { highlight = highlight } }
1165+ end ,
1166+ },
1167+
1168+ {
1169+ ' numToStr/Comment.nvim' ,
1170+ opts = {
1171+ -- add any options here
1172+ },
1173+ },
1174+ {
1175+ ' RRethy/vim-illuminate' ,
1176+ event = ' VimEnter' ,
1177+ },
1178+ {
1179+ ' vim-test/vim-test' ,
1180+ keys = {
1181+ {
1182+ ' <leader>tf' ,
1183+ function ()
1184+ vim .cmd ' TestFile'
1185+ end ,
1186+ mode = ' n' ,
1187+ desc = ' [T]oggle [F]ile' ,
1188+ },
1189+ {
1190+ ' <leader>tn' ,
1191+ function ()
1192+ vim .cmd ' TestNearest'
1193+ end ,
1194+ mode = ' n' ,
1195+ desc = ' [T]oggle [N]earest' ,
1196+ },
1197+ {
1198+ ' <leader>ts' ,
1199+ function ()
1200+ vim .cmd ' TestSuite'
1201+ end ,
1202+ mode = ' n' ,
1203+ desc = ' [T]oggle [S]uite' ,
1204+ },
1205+ {
1206+ ' <leader>tl' ,
1207+ function ()
1208+ vim .cmd ' TestLast'
1209+ end ,
1210+ mode = ' n' ,
1211+ desc = ' [T]oggle [L]ast' ,
1212+ },
1213+ {
1214+ ' <leader>tv' ,
1215+ function ()
1216+ vim .cmd ' TestVisit'
1217+ end ,
1218+ mode = ' n' ,
1219+ desc = ' [T]oggle [V]isit' ,
1220+ },
1221+ },
1222+ },
11341223
11351224 -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the
11361225 -- init.lua. If you want these files, they are in the repository, so you can just download them and
0 commit comments