feat: add typings to tables
parent
550a3b6cab
commit
5ce8fbf9cc
|
@ -14,6 +14,7 @@ if not lazy_loaded then
|
|||
vim.cmd.quit()
|
||||
end
|
||||
|
||||
---@type LazyConfig
|
||||
lazy.setup {
|
||||
spec = {
|
||||
-- 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
|
||||
|
||||
---@type LazySpec
|
||||
return {
|
||||
"AstroNvim/astroui",
|
||||
---@type AstroUIOpts
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---@type LazySpec
|
||||
return {
|
||||
-- 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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
-- You can simply override any internal plugins using Lazy, here are some example operations:
|
||||
---@type LazySpec
|
||||
return {
|
||||
-- customize alpha options
|
||||
-- {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
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
|
||||
---@type LazySpec
|
||||
return {
|
||||
"AstroNvim/astroui",
|
||||
---@type AstroUIOpts
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
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
|
||||
---@type LazySpec
|
||||
return {
|
||||
"AstroNvim/astrocore",
|
||||
---@type AstroCoreOpts
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
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
|
||||
---@type LazySpec
|
||||
return {
|
||||
"AstroNvim/astrolsp",
|
||||
---@type AstroLSPOpts
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
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
|
||||
---@type LazySpec
|
||||
return {
|
||||
"AstroNvim/astrocore",
|
||||
---@type AstroCoreOpts
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||
|
||||
-- Example customization of mason plugins
|
||||
---@type LazySpec
|
||||
return {
|
||||
-- use mason-lspconfig to configure LSP installations
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||
|
||||
-- Example customization of Null-LS sources
|
||||
---@type LazySpec
|
||||
return {
|
||||
"nvimtools/none-ls.nvim",
|
||||
opts = function(_, config)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||
|
||||
-- Example customization of Treesitter
|
||||
---@type LazySpec
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
|
||||
|
||||
---@type LazySpec
|
||||
return {
|
||||
"AstroNvim/astroui",
|
||||
---@type AstroUIOpts
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
-- You can also add new plugins here as well using the lazy syntax:
|
||||
---@type LazySpec
|
||||
return {
|
||||
-- "andweeb/presence.nvim",
|
||||
-- {
|
||||
|
|
Loading…
Reference in New Issue