]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: provide type annotations for LazyPluginSpecs
authorSamir Benmendil <me@rmz.io>
Wed, 12 Apr 2023 12:32:42 +0000 (13:32 +0100)
committerSamir Benmendil <me@rmz.io>
Tue, 31 Oct 2023 23:08:51 +0000 (23:08 +0000)
nvim/lua/plugins/core.lua
nvim/lua/plugins/editor.lua
nvim/lua/plugins/ui.lua

index d782f4c36172490646f80d49ef3bea06384a2588..fecdfd8ad1686716452ee2165e0861689bad9349 100644 (file)
@@ -1,3 +1,4 @@
+---@type LazyPluginSpec
 return {
   {
     "LazyVim/LazyVim",
index 6aa38584f8995ba7e55cd8916bc0af0212b4685b..af0527920310013720614d2191695d64996373f7 100644 (file)
@@ -1,3 +1,4 @@
+---@type LazyPluginSpec
 return {
   {
     "nvim-telescope/telescope.nvim",
index 637afcbb619a7a29cbbd55f38cf9ecd69570c6fc..ec1992dfd4a337c6f87b1714b6ccb401b1087b51 100644 (file)
@@ -1,6 +1,8 @@
+---@type LazyPluginSpec
 return {
   {
     "bufferline.nvim",
+    ---@type BufferlineConfig
     opts = {
       options = {
         always_show_bufferline = true,
@@ -9,6 +11,7 @@ return {
   },
   {
     "noice.nvim",
+    ---@type NoiceConfig
     opts = {
       presets = {
         command_palette = false, -- don't position the cmdline and popupmenu together