feat: add typings to tables
parent
550a3b6cab
commit
5ce8fbf9cc
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
-- {
|
-- {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
-- {
|
-- {
|
||||||
|
|
Loading…
Reference in New Issue