From: Samir Benmendil Date: Wed, 12 Apr 2023 12:32:42 +0000 (+0100) Subject: nvim: provide type annotations for LazyPluginSpecs X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/e3bc42d5aa2868d51a8024aec1ecce46ea2fb8f2?ds=sidebyside nvim: provide type annotations for LazyPluginSpecs --- diff --git a/nvim/lua/plugins/core.lua b/nvim/lua/plugins/core.lua index d782f4c..fecdfd8 100644 --- a/nvim/lua/plugins/core.lua +++ b/nvim/lua/plugins/core.lua @@ -1,3 +1,4 @@ +---@type LazyPluginSpec return { { "LazyVim/LazyVim", diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index 6aa3858..af05279 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -1,3 +1,4 @@ +---@type LazyPluginSpec return { { "nvim-telescope/telescope.nvim", diff --git a/nvim/lua/plugins/ui.lua b/nvim/lua/plugins/ui.lua index 637afcb..ec1992d 100644 --- a/nvim/lua/plugins/ui.lua +++ b/nvim/lua/plugins/ui.lua @@ -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