-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: maybe moving to astronvim instead of lazyvim
- Loading branch information
1 parent
1012f94
commit d37354f
Showing
56 changed files
with
2,066 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"neodev": { | ||
"library": { | ||
"enabled": true, | ||
"plugins": true | ||
} | ||
}, | ||
"neoconf": { | ||
"plugins": { | ||
"lua_ls": { | ||
"enabled": true | ||
} | ||
} | ||
}, | ||
"lspconfig": { | ||
"lua_ls": { | ||
"Lua.format.enable": false | ||
} | ||
} | ||
} |
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,7 @@ | ||
column_width = 120 | ||
line_endings = "Unix" | ||
indent_type = "Spaces" | ||
indent_width = 2 | ||
quote_style = "AutoPreferDouble" | ||
call_parentheses = "None" | ||
collapse_simple_statement = "Always" |
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,34 @@ | ||
# AstroNvim Template | ||
|
||
**NOTE:** This is for AstroNvim v4+ | ||
|
||
A template for getting started with [AstroNvim](https://github.com/AstroNvim/AstroNvim) | ||
|
||
## 🛠️ Installation | ||
|
||
#### Make a backup of your current nvim and shared folder | ||
|
||
```shell | ||
mv ~/.config/nvim ~/.config/nvim.bak | ||
mv ~/.local/share/nvim ~/.local/share/nvim.bak | ||
mv ~/.local/state/nvim ~/.local/state/nvim.bak | ||
mv ~/.cache/nvim ~/.cache/nvim.bak | ||
``` | ||
|
||
#### Create a new user repository from this template | ||
|
||
Press the "Use this template" button above to create a new repository to store your user configuration. | ||
|
||
You can also just clone this repository directly if you do not want to track your user configuration in GitHub. | ||
|
||
#### Clone the repository | ||
|
||
```shell | ||
git clone https://github.com/<your_user>/<your_repository> ~/.config/nvim | ||
``` | ||
|
||
#### Start Neovim | ||
|
||
```shell | ||
nvim | ||
``` |
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,43 @@ | ||
vim.keymap.set("", "0", "^", { noremap = false, silent = true }) | ||
vim.keymap.set("n", ",w", "<cmd>w!<cr>", { desc = "Save File" }) | ||
vim.keymap.set("n", ",W", "<cmd>noautocmd w!<cr>", { desc = "Save File(without autocmds)" }) | ||
vim.keymap.set("n", "<Esc>", ":nohl<cr>") | ||
|
||
vim.keymap.set("n", "<S-Left>", ":tabp<cr>") | ||
vim.keymap.set("n", "<S-Right>", ":tabn<cr>") | ||
|
||
-- Pasting in visual mode doesn't copy | ||
vim.keymap.set("x", "p", [[ 'pgv"'.v:register.'y' ]], { expr = true }) | ||
vim.keymap.set("n", "dl", '"_dl') | ||
vim.keymap.set({ "n", "x" }, "c", '"_c') | ||
vim.keymap.set("n", "C", '"_C') | ||
|
||
vim.keymap.set("c", "<C-a>", "<Home>", { silent = false }) | ||
vim.keymap.set("c", "<C-e>", "<End>", { silent = false }) | ||
|
||
vim.cmd [[ nnoremap <silent> ,s :let @/='\<'.expand('<cword>').'\>'<CR>cgn ]] | ||
vim.keymap.set("x", ",s", '"sy:let @/=@s<CR>cgn', { desc = "Replace" }) | ||
|
||
vim.keymap.set("o", "ie", ':exec "normal! ggVG"<cr>') | ||
vim.keymap.set("o", "iv", ':exec "normal! HVL"<cr>') | ||
vim.keymap.set("n", ",e", ':e <C-R>=expand("%:p:h") . "/" <CR>', { silent = false, desc = "Edit in same dir" }) | ||
vim.keymap.set("n", ",t", ':tabe <C-R>=expand("%:p:h") . "/" <CR>', { silent = false, desc = "Edit in same dir(Tab)" }) | ||
vim.keymap.set( | ||
"n", | ||
",v", | ||
':vsplit <C-R>=expand("%:p:h") . "/" <CR>', | ||
{ silent = false, desc = "Edit in same dir(Split)" } | ||
) | ||
|
||
vim.keymap.set("n", "<leader>R", function() | ||
vim.cmd "source %" | ||
local file = vim.fn.substitute(vim.fn.expand "%:r", "lua/", "", "") | ||
local ok, mod = pcall(require, file) | ||
if ok and type(mod) ~= "boolean" and next(mod or {}) ~= nil and mod.config then mod.config() end | ||
end, { silent = false, desc = "Reload module" }) | ||
|
||
for i = 1, 9 do | ||
vim.keymap.set("n", "<leader>" .. i, i .. "gt", { desc = "Goto Tab " .. i }) | ||
end | ||
-- Output of neovim/vim command into buffer | ||
-- enew|pu=execute('map') |
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,50 @@ | ||
local o = vim.opt | ||
|
||
o.iskeyword:append "-" | ||
o.path:append "**" | ||
|
||
o.scrolloff = 9 | ||
|
||
o.exrc = true | ||
|
||
o.wrap = true | ||
o.showbreak = " " | ||
|
||
o.backupdir = { vim.fn.stdpath "state" .. "/backup//" } | ||
|
||
o.sessionoptions:append { "globals" } | ||
o.sessionoptions:remove "folds" | ||
|
||
o.wildignorecase = true | ||
o.wildignore:append { | ||
"**/node_modules/*", | ||
"**/.git/*", | ||
"**/dist/*", | ||
"**/build/*", | ||
"**/static/*", | ||
"**/.next/*", | ||
"*.o", | ||
"*.out", | ||
"*.obj", | ||
"*.exe", | ||
"*.dll", | ||
"*.jar", | ||
"*.pyc", | ||
"*.rbc", | ||
"*.class", | ||
"*.gif", | ||
"*.ico", | ||
"*.jpg", | ||
"*.jpeg", | ||
"*.png", | ||
"*.mov", | ||
"*.mht", | ||
"*.swp", | ||
"*.zip", | ||
"*.tar.gz", | ||
"*.tar.bz2", | ||
} | ||
|
||
if vim.fn.executable "rg" == 1 then | ||
o.grepprg = "rg --vimgrep -uu --smart-case" -- Also check RIPGREP_CONFIG_PATH="$HOME/.config/ripgreprc" | ||
end |
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,19 @@ | ||
-- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution | ||
-- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk. | ||
local lazypath = vim.env.LAZY or vim.fn.stdpath "data" .. "/lazy/lazy.nvim" | ||
if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then | ||
-- stylua: ignore | ||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }) | ||
end | ||
vim.opt.rtp:prepend(lazypath) | ||
|
||
-- validate that lazy is available | ||
if not pcall(require, "lazy") then | ||
-- stylua: ignore | ||
vim.api.nvim_echo({ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMsg" } }, true, {}) | ||
vim.fn.getchar() | ||
vim.cmd.quit() | ||
end | ||
|
||
require "lazy_setup" | ||
require "polish" |
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,121 @@ | ||
{ | ||
"AstroNvim": { "branch": "main", "commit": "4697961743f500bfa2a8ccd9aef5863219a8bb8d" }, | ||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, | ||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, | ||
"SchemaStore.nvim": { "branch": "main", "commit": "bb03860b59f17dfada46d6d9563c48b7b12fecaf" }, | ||
"aerial.nvim": { "branch": "master", "commit": "9c29a1a66eb31384888e413e510ba72496e06770" }, | ||
"age.nvim": { "branch": "main", "commit": "f1793e14123a7c5374a3744aacab9c283014fa1d" }, | ||
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" }, | ||
"astrocommunity": { "branch": "main", "commit": "f401d9b0b5a4e019c5d32f3d4932136a4ca30505" }, | ||
"astrocore": { "branch": "main", "commit": "0fcaac66d115948605c14eaf45a41d3923eaafeb" }, | ||
"astrolsp": { "branch": "main", "commit": "2f6b0a4059775a1dac011d2944dd41fd4a8fe7a8" }, | ||
"astrotheme": { "branch": "main", "commit": "e612ee356bbf42dc28f181cb966730ed3befb1ab" }, | ||
"astroui": { "branch": "main", "commit": "076766c1d422db486378354729f8fa7c1a68b745" }, | ||
"auto-session": { "branch": "main", "commit": "021b64ed7d4ac68a37be3ad28d8e1cba5bec582c" }, | ||
"avante.nvim": { "branch": "main", "commit": "8067cb0240df4c3b360783ab0809b1e0f1bde9f0" }, | ||
"better-escape.nvim": { "branch": "master", "commit": "199dcc2643dec5d8dbdab4ec672cf405224dcb3b" }, | ||
"bullets.vim": { "branch": "master", "commit": "2253f970e54320dbd76fd6bb4f5a0bf2436ce232" }, | ||
"cmp-async-path": { "branch": "main", "commit": "d6d1ffa2075039632a2d71e8fa139818e15ac757" }, | ||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, | ||
"cmp-cmdline": { "branch": "main", "commit": "bc85ff5323f4d314f92556bea15ebaac94d58054" }, | ||
"cmp-dap": { "branch": "master", "commit": "ea92773e84c0ad3288c3bc5e452ac91559669087" }, | ||
"cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" }, | ||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, | ||
"cmp-rg": { "branch": "master", "commit": "70a43543f61b6083ba9c3b7deb9ccee671410ac6" }, | ||
"cmp-tailwind-colors": { "branch": "main", "commit": "4b200e280e9051a26ade776589c2ac246350f5dc" }, | ||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, | ||
"codecompanion.nvim": { "branch": "main", "commit": "49d38f78db7f33da7d3eca6daadcce951bce6764" }, | ||
"conform.nvim": { "branch": "master", "commit": "f4e8837878fc5712d053ba3091a73d27d96a09e2" }, | ||
"copilot.lua": { "branch": "master", "commit": "d3783b9283a7c35940ed8d71549030d5f5f9f980" }, | ||
"crates.nvim": { "branch": "main", "commit": "8bf8358ee326d5d8c11dcd7ac0bcc9ff97dbc785" }, | ||
"dial.nvim": { "branch": "master", "commit": "46b4375e84e8eb771129bff6b2b1e47746601ef9" }, | ||
"dooing": { "branch": "main", "commit": "4c2847ce959eafe2593f1fe1c709e1ca64a40af7" }, | ||
"dressing.nvim": { "branch": "master", "commit": "43b8f74e0b1e3f41e51f640f8efa3bcd401cea0d" }, | ||
"flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, | ||
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" }, | ||
"git-conflict.nvim": { "branch": "main", "commit": "4bbfdd92d547d2862a75b4e80afaf30e73f7bbb4" }, | ||
"gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" }, | ||
"gopher.nvim": { "branch": "main", "commit": "f55c15ada8e02398000c04a96ef44d986cd01051" }, | ||
"grapple.nvim": { "branch": "main", "commit": "b41ddfc1c39f87f3d1799b99c2f0f1daa524c5f7" }, | ||
"guess-indent.nvim": { "branch": "main", "commit": "6cd61f7a600bb756e558627cd2e740302c58e32d" }, | ||
"gx.nvim": { "branch": "main", "commit": "b01db725a001e4215f363159fc04727f6fde0a1c" }, | ||
"heirline.nvim": { "branch": "master", "commit": "cc359b628266cb9a84b2d71c883f2b99e16473a0" }, | ||
"hererocks": { "branch": "master", "commit": "c9c5444dea1e07e005484014a8231aa667be30b6" }, | ||
"img-clip.nvim": { "branch": "main", "commit": "5ff183655ad98b5fc50c55c66540375bbd62438c" }, | ||
"indent-blankline.nvim": { "branch": "master", "commit": "259357fa4097e232730341fa60988087d189193a" }, | ||
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" }, | ||
"lazydev.nvim": { "branch": "main", "commit": "f59bd14a852ca43db38e3662395354cb2a9b13e0" }, | ||
"lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" }, | ||
"luvit-meta": { "branch": "main", "commit": "57d464c4acb5c2e66bd4145060f5dc9e96a7bbb7" }, | ||
"mag-buffer": { "branch": "main", "commit": "11159370b51495c9848b0b6bb2b933df27672a7a" }, | ||
"mag-nvim-lsp": { "branch": "main", "commit": "56cffa9992469b9676494744f09667808392c1b3" }, | ||
"magazine.nvim": { "branch": "main", "commit": "a584e53ec057199cf1ca6e3615ce68b7da361d47" }, | ||
"mason-lspconfig.nvim": { "branch": "main", "commit": "8e46de9241d3997927af12196bd8faa0ed08c29a" }, | ||
"mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" }, | ||
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" }, | ||
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" }, | ||
"mini.align": { "branch": "main", "commit": "26111a737494bc39576ad67b52bbc2638ca23553" }, | ||
"mini.bufremove": { "branch": "main", "commit": "1ee294a97e091d3cf967974df622c0d887890dc2" }, | ||
"mini.move": { "branch": "main", "commit": "4caa1c212f5ca3d1633d21cfb184808090ed74b1" }, | ||
"mini.operators": { "branch": "main", "commit": "7cb4dc66c51a3d736d347bbc517dc73dc7d28888" }, | ||
"mini.surround": { "branch": "main", "commit": "aa5e245829dd12d8ff0c96ef11da28681d6049aa" }, | ||
"neo-tree.nvim": { "branch": "main", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" }, | ||
"neoconf.nvim": { "branch": "main", "commit": "05d25c121e07c464d6b4203204aa113453eca152" }, | ||
"neogen": { "branch": "main", "commit": "37dd095892e3f846418c465852f7b21f81d0f46c" }, | ||
"neogit": { "branch": "master", "commit": "9dc580789aaf978ba94403874e23a0896a92dbbc" }, | ||
"neotest": { "branch": "master", "commit": "6d3d22cdad49999ef774ebe1bc250a4994038964" }, | ||
"neotest-go": { "branch": "main", "commit": "92950ad7be2ca02a41abca5c6600ff6ffaf5b5d6" }, | ||
"neotest-jest": { "branch": "main", "commit": "514fd4eae7da15fd409133086bb8e029b65ac43f" }, | ||
"neotest-python": { "branch": "master", "commit": "a2861ab3c9a0bf75a56b11835c2bfc8270f5be7e" }, | ||
"none-ls.nvim": { "branch": "main", "commit": "c279e541f73a2deea9deb5231b9c037678dd6353" }, | ||
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" }, | ||
"nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" }, | ||
"nvim-cmp": { "branch": "main", "commit": "3403e2e9391ed0a28c3afddd8612701b647c8e26" }, | ||
"nvim-colorizer.lua": { "branch": "master", "commit": "4acf88d31b3a7a1a7f31e9c30bf2b23c6313abdb" }, | ||
"nvim-dap": { "branch": "master", "commit": "b08e05d7cff6024a9c29b64287d295db7c191450" }, | ||
"nvim-dap-go": { "branch": "main", "commit": "6aa88167ea1224bcef578e8c7160fe8afbb44848" }, | ||
"nvim-dap-python": { "branch": "master", "commit": "34282820bb713b9a5fdb120ae8dd85c2b3f49b51" }, | ||
"nvim-dap-ui": { "branch": "master", "commit": "ffa89839f97bad360e78428d5c740fdad9a0ff02" }, | ||
"nvim-highlight-colors": { "branch": "main", "commit": "e967e2ba13fd4ca731b41d0e5cc1ac2edcd6e25e" }, | ||
"nvim-lsp-file-operations": { "branch": "master", "commit": "9744b738183a5adca0f916527922078a965515ed" }, | ||
"nvim-lspconfig": { "branch": "master", "commit": "5a812abc65d529ea7673059a348814c21d7f87ff" }, | ||
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, | ||
"nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, | ||
"nvim-treesitter": { "branch": "master", "commit": "337b503688eccb3046547661e4c738e674548fcf" }, | ||
"nvim-treesitter-context": { "branch": "master", "commit": "8fd989b6b457a448606b4a2e51f9161700f609a7" }, | ||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" }, | ||
"nvim-ts-autotag": { "branch": "main", "commit": "1cca23c9da708047922d3895a71032bc0449c52d" }, | ||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1b212c2eee76d787bbea6aa5e92a2b534e7b4f8f" }, | ||
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" }, | ||
"nvim-vtsls": { "branch": "main", "commit": "45c6dfea9f83a126e9bfc5dd63430562b3f8af16" }, | ||
"nvim-web-devicons": { "branch": "master", "commit": "e73d2774d12d0ecf9e05578d692ba1ea50508cf2" }, | ||
"nvim-window-picker": { "branch": "main", "commit": "41cfaa428577c53552200a404ae9b3a0b5719706" }, | ||
"package-info.nvim": { "branch": "master", "commit": "3de4f3569ce60e248707df042b72769b3ec343b8" }, | ||
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, | ||
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" }, | ||
"quick-scope": { "branch": "master", "commit": "4d35d3b2bc6794666353dcc241b2680bd560416f" }, | ||
"quicker.nvim": { "branch": "master", "commit": "049d66534d3de5920663ee1b8dd0096d70f55a67" }, | ||
"refactoring.nvim": { "branch": "master", "commit": "2db6d378e873de31d18ade549c2edba64ff1c2e3" }, | ||
"render-markdown.nvim": { "branch": "main", "commit": "0022a579ac7355966be5ade77699b88c76b6a549" }, | ||
"resession.nvim": { "branch": "master", "commit": "cc819b0489938d03e4f3532a583354f0287c015b" }, | ||
"rustaceanvim": { "branch": "master", "commit": "0a618c1d1c05a8059880076feccb15301da6993d" }, | ||
"smart-splits.nvim": { "branch": "master", "commit": "00fba7a0e912a8d82da91a3b6b11d641fa500bd8" }, | ||
"telescope-egrepify.nvim": { "branch": "master", "commit": "a8070970a661330c4e00450d25f874f6c2b00af9" }, | ||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, | ||
"telescope-zf-native.nvim": { "branch": "master", "commit": "5721be27df11a19b9cd95e6a4887f16f26599802" }, | ||
"telescope.nvim": { "branch": "0.1.x", "commit": "2eca9ba22002184ac05eddbe47a7fe2d5a384dfc" }, | ||
"template-string.nvim": { "branch": "main", "commit": "419bfb2e4d5f0e6ddd0d4435f85b69da0d88d524" }, | ||
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" }, | ||
"toggleterm.nvim": { "branch": "main", "commit": "022ff5594acccc8d90d2e46dc43994f7722ebdf7" }, | ||
"ts-error-translator.nvim": { "branch": "main", "commit": "47e5ba89f71b9e6c72eaaaaa519dd59bd6897df4" }, | ||
"tsc.nvim": { "branch": "main", "commit": "59abb6f3f24a3ca80708f694af4e2b727a1a3211" }, | ||
"venv-selector.nvim": { "branch": "regexp", "commit": "e82594274bf7b54387f9a2abe65f74909ac66e97" }, | ||
"vim-dadbod": { "branch": "master", "commit": "f740950d0703099e0f172016f10e0e39f50fd0ba" }, | ||
"vim-dadbod-completion": { "branch": "master", "commit": "04485bfb53a629423233a4178d71cd4f8abf7406" }, | ||
"vim-dadbod-ui": { "branch": "master", "commit": "0fec59e3e1e619e302198cd491b7d27f8d398b7c" }, | ||
"vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" }, | ||
"vim-subversive": { "branch": "master", "commit": "cea98a62ded4028118ad71c3e81b26eff2e0b8a0" }, | ||
"vim-visual-multi": { "branch": "master", "commit": "a6975e7c1ee157615bbc80fc25e4392f71c344d4" }, | ||
"which-key.nvim": { "branch": "main", "commit": "8ab96b38a2530eacba5be717f52e04601eb59326" }, | ||
"yazi.nvim": { "branch": "main", "commit": "2d6e9b9e2bda2294a978f60367598b75ea5b59d0" } | ||
} |
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,41 @@ | ||
-- AstroCommunity: import any community modules here | ||
-- We import this file in `lazy_setup.lua` before the `plugins/` folder. | ||
-- This guarantees that the specs are processed before any user plugins. | ||
|
||
---@type LazySpec | ||
return { | ||
"AstroNvim/astrocommunity", | ||
-- languages | ||
{ import = "astrocommunity.pack.astro" }, | ||
{ import = "astrocommunity.pack.bash" }, | ||
{ import = "astrocommunity.pack.docker" }, | ||
{ import = "astrocommunity.pack.fish" }, | ||
{ import = "astrocommunity.pack.go" }, | ||
{ import = "astrocommunity.pack.full-dadbod" }, | ||
{ import = "astrocommunity.pack.html-css" }, | ||
{ import = "astrocommunity.pack.json" }, | ||
{ import = "astrocommunity.pack.markdown" }, | ||
{ import = "astrocommunity.pack.prisma" }, | ||
{ import = "astrocommunity.pack.python-ruff" }, | ||
{ import = "astrocommunity.pack.svelte" }, | ||
{ import = "astrocommunity.pack.typescript" }, | ||
{ import = "astrocommunity.pack.vue" }, | ||
{ import = "astrocommunity.pack.yaml" }, | ||
{ import = "astrocommunity.pack.lua" }, | ||
{ import = "astrocommunity.pack.rust" }, | ||
{ import = "astrocommunity.pack.elixir-phoenix" }, | ||
|
||
{ import = "astrocommunity.lsp.nvim-lsp-file-operations" }, | ||
{ import = "astrocommunity.lsp.ts-error-translator-nvim" }, | ||
|
||
{ import = "astrocommunity.editing-support.conform-nvim" }, | ||
{ import = "astrocommunity.editing-support.mini-operators" }, | ||
{ import = "astrocommunity.editing-support.nvim-treesitter-context" }, | ||
{ import = "astrocommunity.editing-support.refactoring-nvim" }, | ||
|
||
{ import = "astrocommunity.quickfix.quicker-nvim" }, | ||
{ import = "astrocommunity.test.neotest" }, | ||
|
||
{ import = "astrocommunity.recipes.telescope-nvchad-theme" }, | ||
{ import = "astrocommunity.recipes.telescope-lsp-mappings" }, | ||
} |
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,20 @@ | ||
---@diagnostic disable-next-line: missing-fields | ||
require("gruber-darker").setup({}) | ||
local c = require("gruber-darker.palette") | ||
|
||
vim.api.nvim_set_hl(0, "MatchParenCur", { bold = true }) | ||
|
||
vim.api.nvim_set_hl(0, "@lsp.type.keyword.lua", { fg = c["brown"]:to_string(), bold = false }) | ||
vim.api.nvim_set_hl(0, "@lsp.type.event.lua", { link = "GruberDarkerYellowBold" }) | ||
vim.api.nvim_set_hl(0, "WinBar", { link = "TreesitterContext" }) | ||
-- vim.api.nvim_set_hl(0, 'WinBarNC', { link = 'NormalNC' }) | ||
vim.api.nvim_set_hl( | ||
0, | ||
"QuickScopePrimary", | ||
{ fg = c["yellow"]:to_string(), bg = c["bg+1"]:to_string(), underline = true, bold = true } | ||
) | ||
vim.api.nvim_set_hl( | ||
0, | ||
"QuickScopeSecondary", | ||
{ fg = c["brown"]:to_string(), bg = c["bg+1"]:to_string(), underline = true, bold = true } | ||
) |
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,19 @@ | ||
require("kanagawa").setup({ | ||
compile = true, | ||
-- transparent = true, | ||
-- dimInactive = false, | ||
---@type "wave" | "dragon" | "lotus" | ||
theme = "dragon", | ||
overrides = function(colors) -- add/modify highlights | ||
local theme = colors.theme | ||
return { | ||
Pmenu = { fg = theme.ui.shade0, bg = theme.ui.bg_p1 }, -- add `blend = vim.o.pumblend` to enable transparency | ||
PmenuSel = { fg = "NONE", bg = theme.ui.bg_p2 }, | ||
PmenuSbar = { bg = theme.ui.bg_m1 }, | ||
PmenuThumb = { bg = theme.ui.bg_p2 }, | ||
QuickScopePrimary = { bold = true, underline = true, fg = colors.palette.carpYellow }, | ||
QuickScopeSecondary = { bold = true, underline = true, fg = theme.syn.type }, | ||
} | ||
end, | ||
}) | ||
vim.cmd.colorscheme("kanagawa-dragon") |
Oops, something went wrong.