-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from MiaadTeam/lazy
🧑💻 moving from packer to lazy plugin
- Loading branch information
Showing
53 changed files
with
825 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
-- Global Variables | ||
require("global.vars") | ||
--Package configurations | ||
require("packer.loader") | ||
require("packer.plugins") | ||
|
||
-- Key Mappings | ||
require("keymap") | ||
-- require("packer.loader") | ||
-- require("packer.plugins") | ||
|
||
-- Settings | ||
require("settings") | ||
-- require("terminal") | ||
|
||
-- LSP | ||
require("lsp.init") | ||
-- require("lsp.lspinstall") | ||
-- require("lsp.ts-js-deno") | ||
--Package configurations | ||
require("lazy.init") | ||
|
||
-- Global Mappings and functions executed on startup | ||
require("global.colorschema") | ||
require("global.map") | ||
require("global.exec") | ||
|
||
-- Key Mappings | ||
require("keymap") | ||
|
||
-- LSP | ||
require("lsp.init") | ||
-- require("lsp.lspinstall") | ||
-- require("lsp.ts-js-deno") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"Comment.nvim": { "branch": "master", "commit": "7bb563ff2d811a63b207e9de63e3e9c0877cb6d5" }, | ||
"alpha-nvim": { "branch": "main", "commit": "21a0f2520ad3a7c32c0822f943368dc063a569fb" }, | ||
"better-escape.nvim": { "branch": "master", "commit": "d5ee0cef56a7e41a86048c14f25e964876ac20c1" }, | ||
"bracey.vim": { "branch": "master", "commit": "4e1a22acc01787814819df1057d039d4ecf357eb" }, | ||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, | ||
"cmp-cmdline": { "branch": "main", "commit": "23c51b2a3c00f6abc4e922dbd7c3b9aca6992063" }, | ||
"cmp-emoji": { "branch": "main", "commit": "19075c36d5820253d32e2478b6aaf3734aeaafa0" }, | ||
"cmp-nvim-lsp": { "branch": "main", "commit": "59224771f91b86d1de12570b4070fe4ad7cd1eeb" }, | ||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, | ||
"cmp-snippy": { "branch": "master", "commit": "9af1635fe40385ffa3dabf322039cb5ae1fd7d35" }, | ||
"copilot.vim": { "branch": "release", "commit": "324ec9eb69e20971b58340d0096c3caac7bc2089" }, | ||
"crates.nvim": { "branch": "main", "commit": "a70328ae638e20548bcfc64eb9561101104b3008" }, | ||
"filetype.nvim": { "branch": "main", "commit": "b522628a45a17d58fc0073ffd64f9dc9530a8027" }, | ||
"formatter.nvim": { "branch": "master", "commit": "8a4c961330cc4688087f23d18fa7d2f1af9a4902" }, | ||
"gitsigns.nvim": { "branch": "main", "commit": "2ab3bdf0a40bab53033048c6be75bda86316b55d" }, | ||
"glow.nvim": { "branch": "main", "commit": "20d1cd087f8728f21a048a3b6259f6177237b39e" }, | ||
"hop.nvim": { "branch": "v1", "commit": "75f73d3959a0df7ef3642fd5138acdb1ce50fdc8" }, | ||
"indent-blankline.nvim": { "branch": "master", "commit": "c4c203c3e8a595bc333abaf168fcb10c13ed5fb7" }, | ||
"lazy.nvim": { "branch": "main", "commit": "8d452e37bbf16cfd8841cca4286c2b0f7c8db669" }, | ||
"lspsaga.nvim": { "branch": "main", "commit": "b7b4777369b441341b2dcd45c738ea4167c11c9e" }, | ||
"markdown-preview.nvim": { "branch": "master", "commit": "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96" }, | ||
"noice.nvim": { "branch": "main", "commit": "7816fcd8a43a9de84d7f4695b0688b4f54b25570" }, | ||
"nui.nvim": { "branch": "main", "commit": "4939282919885e1c83aff68ecb35b3cadf6015a9" }, | ||
"numb.nvim": { "branch": "master", "commit": "d95b7ea62e320b02ca1aa9df3635471a88d6f3b1" }, | ||
"nvim-autopairs": { "branch": "master", "commit": "03580d758231956d33c8dd91e2be195106a79fa4" }, | ||
"nvim-biscuits": { "branch": "main", "commit": "e58b47d7ff6bded07f30f51ca1fa4855a1a6dfb1" }, | ||
"nvim-bufferline.lua": { "branch": "main", "commit": "c7492a76ce8218e3335f027af44930576b561013" }, | ||
"nvim-cmp": { "branch": "main", "commit": "e55033fce468c9c578b946948807f2ac48a6ee08" }, | ||
"nvim-code-action-menu": { "branch": "main", "commit": "e4399dbaf6eabff998d3d5f1cbcd8d9933710027" }, | ||
"nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" }, | ||
"nvim-cursorline": { "branch": "main", "commit": "804f0023692653b2b2368462d67d2a87056947f9" }, | ||
"nvim-dap": { "branch": "master", "commit": "6f2ea9e33b48a51849ec93c6c38148a5372018e4" }, | ||
"nvim-hlslens": { "branch": "main", "commit": "0e59a9d29c5811dfc1ffcb032e18064fa2008b4e" }, | ||
"nvim-lspconfig": { "branch": "master", "commit": "9c73b57ed03ad0a906e2cdc2fc348bf86ae53e3a" }, | ||
"nvim-notify": { "branch": "master", "commit": "b005821516f1f37801a73067afd1cef2dbc4dfe8" }, | ||
"nvim-regexplainer": { "branch": "main", "commit": "dddc9ff5f9837b02c3e07ee30b833bc39a0b6759" }, | ||
"nvim-snippy": { "branch": "master", "commit": "47def62945611212a242657cc414dac91ca0453a" }, | ||
"nvim-spectre": { "branch": "master", "commit": "68ea562b485b6593e325e7916c3bd6e833d433e7" }, | ||
"nvim-tree.lua": { "branch": "master", "commit": "9e4c39572f631bb60ee15cb9d46e1daa9927a45e" }, | ||
"nvim-treesitter": { "branch": "master", "commit": "ee3e9f4dc0e5ee9e2bfb1ee47638375840b8fe0f" }, | ||
"nvim-treesitter-context": { "branch": "master", "commit": "d28654b012d4c56beafec630ef7143275dff76f8" }, | ||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "247e392a8beb28c5d43a1375f93f8f90f1cc11ad" }, | ||
"nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" }, | ||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "32d9627123321db65a4f158b72b757bcaef1a3f4" }, | ||
"nvim-ts-rainbow": { "branch": "master", "commit": "064fd6c0a15fae7f876c2c6dd4524ca3fad96750" }, | ||
"nvim-web-devicons": { "branch": "master", "commit": "05e1072f63f6c194ac6e867b567e6b437d3d4622" }, | ||
"nvim_context_vt": { "branch": "master", "commit": "31436f34f3f95e4e70853cd653fdf78246cb0e85" }, | ||
"plenary.nvim": { "branch": "master", "commit": "4b7e52044bbb84242158d977a50c4cbcd85070c7" }, | ||
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" }, | ||
"portal.nvim": { "branch": "main", "commit": "6198977abbfe30e19075edf106a507a6a708402c" }, | ||
"project.nvim": { "branch": "main", "commit": "685bc8e3890d2feb07ccf919522c97f7d33b94e4" }, | ||
"registers.nvim": { "branch": "main", "commit": "667ae447d2c7efb64461a2c58f5311d1248cdb5f" }, | ||
"renamer.nvim": { "branch": "master", "commit": "1614d466df53899f11dd5395eaac3c09a275c384" }, | ||
"rest.nvim": { "branch": "main", "commit": "e1482ea4333a019ec8ef6cf43f406d52e9782800" }, | ||
"rust-tools.nvim": { "branch": "master", "commit": "99fd1238c6068d0637df30b6cee9a264334015e9" }, | ||
"stabilize.nvim": { "branch": "master", "commit": "34069870a8e72632c5447188e638e1c6bfebc353" }, | ||
"telescope.nvim": { "branch": "master", "commit": "a606bd10c79ec5989c76c49cc6f736e88b63f0da" }, | ||
"tokyonight.nvim": { "branch": "main", "commit": "8a619f0cf3ed9051081d9fc0cd4f852a7355f546" }, | ||
"trouble.nvim": { "branch": "main", "commit": "897542f90050c3230856bc6e45de58b94c700bbf" }, | ||
"twilight.nvim": { "branch": "main", "commit": "1ffa6a4d89fb2fbb784c6674044bf54f1fca936f" }, | ||
"vim-fugitive": { "branch": "master", "commit": "99cdb88bc64063dc4656ae53496f06fb2a394cd4" }, | ||
"vim-surround": { "branch": "master", "commit": "3d188ed2113431cf8dac77be61b842acb64433d9" }, | ||
"vim-yin-yang": { "branch": "master", "commit": "77ed628fe5d23abfe297d58a0f46ac94bbc987f6" }, | ||
"which-key.nvim": { "branch": "main", "commit": "8682d3003595017cd8ffb4c860a07576647cc6f8" }, | ||
"windline.nvim": { "branch": "master", "commit": "047c6175e7871cd17e79f1c53f923f6695370bbe" }, | ||
"winshift.nvim": { "branch": "main", "commit": "37468ed6f385dfb50402368669766504c0e15583" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Description : a lua powered greeter like vim-startify / dashboard-nvim | ||
-- Link : https://github.com/goolord/alpha-nvim | ||
|
||
local M = { | ||
"goolord/alpha-nvim", | ||
config = function() | ||
require("packer.settings.alpha") | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Description : A super powerful autopair plugin for Neovim that supports multiple characters. | ||
-- Link : https://github.com/windwp/nvim-autopairs | ||
|
||
local M = { | ||
"windwp/nvim-autopairs", | ||
config = function() | ||
require("packer.settings.autopairs") | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Description : Use treesitter to auto close and auto rename html tag | ||
-- Link : https://github.com/windwp/nvim-ts-autotag | ||
|
||
local M = { | ||
"windwp/nvim-ts-autotag", | ||
config = function() | ||
require("nvim-ts-autotag").setup() | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
-- Description : A neovim port of Assorted Biscuits. Ends up with more supported languages too. | ||
-- Link : https://github.com/code-biscuits/nvim-biscuits | ||
|
||
local M = { | ||
"code-biscuits/nvim-biscuits", | ||
|
||
config = function() | ||
require("nvim-biscuits").setup({ | ||
ensure_installed = "maintained", | ||
|
||
default_config = { | ||
max_length = 12, | ||
min_distance = 5, | ||
prefix_string = " 📎 ", | ||
}, | ||
language_config = { | ||
html = { | ||
prefix_string = " 🌐 ", | ||
}, | ||
javascript = { | ||
prefix_string = " ✨ ", | ||
max_length = 80, | ||
}, | ||
javascriptreact = { | ||
prefix_string = " ✨ ", | ||
max_length = 80, | ||
}, | ||
typescript = { | ||
prefix_string = " ✨ ", | ||
max_length = 80, | ||
}, | ||
typescriptreact = { | ||
prefix_string = " ✨ ", | ||
max_length = 80, | ||
}, | ||
}, | ||
}) | ||
end, | ||
dependencies = { | ||
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" }, | ||
}, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Description : This plugin adds indentation guides to all lines (including empty lines). | ||
-- Link : https://github.com/lukas-reineke/indent-blankline.nvim | ||
|
||
local M = { | ||
"lukas-reineke/indent-blankline.nvim", | ||
config = function() | ||
require("packer.settings.blankline") | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
-- Description : live edit html, css, and javascript in vim | ||
-- Link : https://github.com/turbio/bracey.vim | ||
|
||
local M = { "turbio/bracey.vim", build = "npm install --prefix server" } | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- Description : A snazzy 💅 buffer line (with tabpage integration) for Neovim built using lua. | ||
-- Link : https://github.com/akinsho/nvim-bufferline.lua | ||
|
||
local M = { | ||
"akinsho/nvim-bufferline.lua", | ||
dependencies = { "kyazdani42/nvim-web-devicons" }, | ||
config = function() | ||
require("bufferline").setup(require("packer.settings.bufferline")) | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
-- Description : A completion engine plugin for neovim written in Lua. Completion sources are installed from external repositories and "sourced". | ||
-- Link : https://github.com/hrsh7th/nvim-cmp | ||
|
||
local M = { | ||
"hrsh7th/nvim-cmp", | ||
dependencies = { | ||
"hrsh7th/cmp-nvim-lsp", | ||
"hrsh7th/cmp-buffer", | ||
"hrsh7th/cmp-path", | ||
"hrsh7th/cmp-cmdline", | ||
-- "L3MON4D3/LuaSnip", | ||
-- "saadparwaiz1/cmp_luasnip", | ||
"dcampos/nvim-snippy", | ||
"dcampos/cmp-snippy", | ||
"hrsh7th/cmp-emoji", | ||
}, | ||
|
||
-- event = "InsertEnter", | ||
config = function() | ||
require("packer.settings.cmp") | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Description : A high-performance color highlighter for Neovim which has no external dependencies! Written in performant Luajit. | ||
-- Link : https://github.com/norcalli/nvim-colorizer.lua | ||
|
||
local M = { | ||
"norcalli/nvim-colorizer.lua", | ||
config = function() | ||
require("colorizer").setup() | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Description : 🧠 💪 // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more | ||
-- Link : https://github.com/numToStr/Comment.nvim | ||
|
||
local M = { | ||
"numToStr/Comment.nvim", | ||
config = function() | ||
require("packer.settings.ts-comment") | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-- Description : A neovim plugin that helps managing crates.io dependencies | ||
-- Link : https://github.com/saecki/crates.nvim | ||
|
||
local M = { | ||
"saecki/crates.nvim", | ||
event = { "BufRead Cargo.toml" }, | ||
dependencies = { "nvim-lua/plenary.nvim" }, | ||
config = function() | ||
require("crates").setup() | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-- Description : A plugin for neovim that highlights cursor words and lines | ||
-- Link : https://github.com/yamatsum/nvim-cursorline | ||
|
||
local M = { | ||
"yamatsum/nvim-cursorline", | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Description : Escape from insert mode without delay when typing | ||
-- Link : https://github.com/max397574/better-escape.nvim | ||
|
||
local M = { | ||
"max397574/better-escape.nvim", | ||
config = function() | ||
require("packer.settings.escape") | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- Description : A format runner for Neovim. | ||
-- Link : https://github.com/mhartington/formatter.nvim | ||
|
||
local M = { | ||
"mhartington/formatter.nvim", | ||
config = function() | ||
require("packer.settings.format") | ||
end, | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
-- Description : fugitive.vim: A Git wrapper so awesome, it should be illegal | ||
-- Link : https://github.com/tpope/vim-fugitive | ||
|
||
local M = { | ||
"tpope/vim-fugitive", | ||
} | ||
|
||
return M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-- Description : Super fast git decorations implemented purely in lua/teal. | ||
-- Link : https://github.com/lewis6991/gitsigns.nvim | ||
|
||
local M = { | ||
"lewis6991/gitsigns.nvim", | ||
dependencies = { | ||
"nvim-lua/plenary.nvim", | ||
}, | ||
config = function() | ||
require("gitsigns").setup() | ||
end, | ||
} | ||
|
||
return M |
Oops, something went wrong.