feat: add typings to tables

pull/6/head
Micah Halter 2024-01-20 00:40:08 -05:00
parent 550a3b6cab
commit 5ce8fbf9cc
No known key found for this signature in database
GPG Key ID: 4224A6EA9A8CAAA8
13 changed files with 13 additions and 0 deletions

View File

@ -14,6 +14,7 @@ if not lazy_loaded then
vim.cmd.quit() vim.cmd.quit()
end end
---@type LazyConfig
lazy.setup { lazy.setup {
spec = { spec = {
-- TODO: change `branch="v4"` to `version="^4"` on release -- TODO: change `branch="v4"` to `version="^4"` on release

View File

@ -1,5 +1,6 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
---@type LazySpec
return { return {
"AstroNvim/astroui", "AstroNvim/astroui",
---@type AstroUIOpts ---@type AstroUIOpts

View File

@ -1,3 +1,4 @@
---@type LazySpec
return { return {
-- Add community imports to the `lua/config/lazy.lua` file in your Neovim configuration folder (typically ~/.config/nvim) -- Add community imports to the `lua/config/lazy.lua` file in your Neovim configuration folder (typically ~/.config/nvim)
-- this guarantees that the community plugin specs are loaded before the user configuration -- this guarantees that the community plugin specs are loaded before the user configuration

View File

@ -1,4 +1,5 @@
-- You can simply override any internal plugins using Lazy, here are some example operations: -- You can simply override any internal plugins using Lazy, here are some example operations:
---@type LazySpec
return { return {
-- customize alpha options -- customize alpha options
-- { -- {

View File

@ -1,6 +1,7 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
-- AstroUI allows you to easily modify highlight groups easily for any and all colorschemes -- AstroUI allows you to easily modify highlight groups easily for any and all colorschemes
---@type LazySpec
return { return {
"AstroNvim/astroui", "AstroNvim/astroui",
---@type AstroUIOpts ---@type AstroUIOpts

View File

@ -1,6 +1,7 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
-- AstroCore allows you easy access to customize the default options provided in AstroNvim -- AstroCore allows you easy access to customize the default options provided in AstroNvim
---@type LazySpec
return { return {
"AstroNvim/astrocore", "AstroNvim/astrocore",
---@type AstroCoreOpts ---@type AstroCoreOpts

View File

@ -1,6 +1,7 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
-- AstroLSP allows you to customize the features in AstroNvim's LSP configuration engine -- AstroLSP allows you to customize the features in AstroNvim's LSP configuration engine
---@type LazySpec
return { return {
"AstroNvim/astrolsp", "AstroNvim/astrolsp",
---@type AstroLSPOpts ---@type AstroLSPOpts

View File

@ -1,6 +1,7 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
-- AstroCore provides a central place to modify mappings set up as well as which-key menu titles -- AstroCore provides a central place to modify mappings set up as well as which-key menu titles
---@type LazySpec
return { return {
"AstroNvim/astrocore", "AstroNvim/astrocore",
---@type AstroCoreOpts ---@type AstroCoreOpts

View File

@ -1,6 +1,7 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
-- Example customization of mason plugins -- Example customization of mason plugins
---@type LazySpec
return { return {
-- use mason-lspconfig to configure LSP installations -- use mason-lspconfig to configure LSP installations
{ {

View File

@ -1,6 +1,7 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
-- Example customization of Null-LS sources -- Example customization of Null-LS sources
---@type LazySpec
return { return {
"nvimtools/none-ls.nvim", "nvimtools/none-ls.nvim",
opts = function(_, config) opts = function(_, config)

View File

@ -1,6 +1,7 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
-- Example customization of Treesitter -- Example customization of Treesitter
---@type LazySpec
return { return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
opts = function(_, opts) opts = function(_, opts)

View File

@ -1,5 +1,6 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
---@type LazySpec
return { return {
"AstroNvim/astroui", "AstroNvim/astroui",
---@type AstroUIOpts ---@type AstroUIOpts

View File

@ -1,4 +1,5 @@
-- You can also add new plugins here as well using the lazy syntax: -- You can also add new plugins here as well using the lazy syntax:
---@type LazySpec
return { return {
-- "andweeb/presence.nvim", -- "andweeb/presence.nvim",
-- { -- {