Added types

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2024-03-17 16:34:11 +01:00
parent fa0745989a
commit 9556024c93
41 changed files with 65 additions and 23 deletions

View File

@@ -13,11 +13,13 @@ vim.opt.rtp:prepend(lazypath)
local lazy = require("lazy")
--- @type LazyPluginSpec[]
local plugins = {
{ import = "taken.plugins" },
{ import = "taken.plugins.lsp" },
}
--- @type LazyConfig
local opts = {
checker = {
enabled = true,

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"goolord/alpha-nvim",
event = "VimEnter",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"windwp/nvim-autopairs",
event = "InsertEnter",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"rainbowhxch/beacon.nvim",
event = { "BufReadPre", "BufNewFile" },

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"akinsho/bufferline.nvim",
version = "*",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"laytan/cloak.nvim",
config = function()

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"VonHeikemen/fine-cmdline.nvim",
dependencies = "MunifTanjim/nui.nvim",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec[]
return {
{
"JoosepAlviste/palenightfall.nvim",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"numToStr/Comment.nvim",
keys = { "gcc", "gbc", { "gc", mode = "v" }, { "gb", mode = "v" }, "gcO", "gco", "gcA" },

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"zbirenbaum/copilot.lua",
cmd = "Copilot",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"rcarriga/nvim-dap-ui",
dependencies = "mfussenegger/nvim-dap",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"glepnir/dashboard-nvim",
event = "VimEnter",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"j-hui/fidget.nvim",
tag = "legacy",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"David-Kunz/gen.nvim",
cmd = "Gen",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"lukas-reineke/indent-blankline.nvim",
main = "ibl",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"jokajak/keyseer.nvim",
cmd = "KeySeer",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"neovim/nvim-lspconfig",
dependencies = {

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"williamboman/mason.nvim",
build = function()
@@ -23,7 +24,7 @@ return {
"pyright",
"powershell_es",
"jsonls",
"eslint"
"eslint",
},
automatic_installation = true,
})

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
-- "jose-elias-alvarez/null-ls.nvim",
"nvimtools/none-ls.nvim",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"pmizio/typescript-tools.nvim",
dependencies = {

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"nvim-lualine/lualine.nvim",
dependencies = {

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"NeogitOrg/neogit",
dependencies = "nvim-lua/plenary.nvim",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"nvim-neo-tree/neo-tree.nvim",
init = function()

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"folke/noice.nvim",
event = "VeryLazy",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"rcarriga/nvim-notify",
config = function()

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"hrsh7th/nvim-cmp",
dependencies = {

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"michaelrommel/nvim-silicon",
lazy = true,

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"ObserverOfTime/nvimcord",
cmd = "NvimcordUpdate",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"nvim-tree/nvim-tree.lua",
dependencies = { "nvim-tree/nvim-web-devicons" },

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"NvChad/nvterm",
keys = {

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec[]
return {
{
"wakatime/vim-wakatime",
@@ -5,8 +6,8 @@ return {
lazy = false,
},
{
"folke/todo-comments.nvim",
dependencies = { "nvim-lua/plenary.nvim" },
"folke/too-comments.nvim",
ependencies = { "nvim-lua/plenary.nvim" },
event = { "BufReadPre", "BufNewFile" },
config = true,
},

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"TakenMC/presence.nvim",
event = { "BufReadPre", "BufNewFile" },

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"HiPhish/rainbow-delimiters.nvim",
dependencies = "nvim-treesitter/nvim-treesitter",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"coffebar/neovim-project",
priority = 100,

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"nvim-pack/nvim-spectre",
name = "spectre",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"nvim-telescope/telescope.nvim",
tag = "0.1.4",

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"xiyaowong/transparent.nvim",
config = function()

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"nvim-treesitter/nvim-treesitter-textobjects",
lazy = true,

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"nvim-treesitter/nvim-treesitter",
event = { "BufReadPre", "BufNewFile" },

View File

@@ -1,3 +1,4 @@
--- @type LazyPluginSpec
return {
"folke/which-key.nvim",
init = function()