Skip to content

Commit 18eafdf

Browse files
authored
Merge pull request #280 from stanfish06/claude/issue-277-20260708-0634
Add mini.icons and mini.pairs
2 parents e1fc569 + 55c20f6 commit 18eafdf

3 files changed

Lines changed: 23 additions & 3 deletions

File tree

lua/config/plugin_config.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
local is_vscode = vim.g.vscode
2+
3+
-- mini.icons (icon provider; mocks nvim-web-devicons so filetree.lua/statuscolumn.lua
4+
-- keep working against the devicons API without changes)
5+
local mini_icons_ok, mini_icons = pcall(require, "mini.icons")
6+
if mini_icons_ok then
7+
mini_icons.setup()
8+
mini_icons.mock_nvim_web_devicons()
9+
end
10+
11+
-- mini.pairs (auto-close brackets/quotes; complements the <CR> auto-indent
12+
-- keymap in options.lua which handles the reactive side of bracket editing)
13+
local mini_pairs_ok, mini_pairs = pcall(require, "mini.pairs")
14+
if mini_pairs_ok and not is_vscode then
15+
mini_pairs.setup()
16+
end
17+
218
-- fzf
319
-- git clone --depth 1 https://github.com/ibhagwan/fzf-lua.git ~/.config/nvim/pack/plugins/start/fzf-lua
420
local ok, fzf = pcall(require, "fzf-lua")

lua/config/plugins.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ local package_list = {
4040
{ name = "noice.nvim", src = "https://github.com/folke/noice.nvim.git" },
4141
{ name = "quicker.nvim", src = "https://github.com/stevearc/quicker.nvim.git" },
4242
{ name = "nui.nvim", src = "https://github.com/MunifTanjim/nui.nvim.git" },
43-
{ name = "nvim-web-devicons", src = "https://github.com/nvim-tree/nvim-web-devicons.git" }
43+
{ name = "mini.nvim", src = "https://github.com/echasnovski/mini.nvim.git" }
4444
}
4545
local vim_pack_ok, _ = pcall(require, "vim.pack")
4646
local function sync_packages()

nvim-pack-lock.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"src": "https://tpope.io/vim/fugitive.git"
3939
},
4040
"fzf-lua": {
41-
"rev": "774150bc05f774af1df614f55d156b3318c6decd",
41+
"rev": "ed4059deb9237f7f4cc8832ffef69779ffe2e265",
4242
"src": "https://github.com/ibhagwan/fzf-lua.git"
4343
},
4444
"gitsigns.nvim": {
@@ -49,6 +49,10 @@
4949
"rev": "943779f7cdb0acee203985ad531fb53ff95d9c8e",
5050
"src": "https://github.com/justinmk/guh.nvim"
5151
},
52+
"mini.nvim": {
53+
"rev": "928971c3cfe99ddf29659acc31214cfa836fabe4",
54+
"src": "https://github.com/echasnovski/mini.nvim.git"
55+
},
5256
"noice.nvim": {
5357
"rev": "7bfd942445fb63089b59f97ca487d605e715f155",
5458
"src": "https://github.com/folke/noice.nvim.git"
@@ -78,7 +82,7 @@
7882
"src": "https://github.com/nvim-tree/nvim-web-devicons.git"
7983
},
8084
"obsidian.nvim": {
81-
"rev": "1052c0c8359c550d5379296f896a778284dc5a78",
85+
"rev": "7687c7e62c3e12617d9eea6401e9e1f190e2ccab",
8286
"src": "https://github.com/obsidian-nvim/obsidian.nvim.git"
8387
},
8488
"plenary.nvim": {

0 commit comments

Comments
 (0)