chore: drop redundant config
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
MiniDeps.now(function()
|
||||
require("mini.icons").setup()
|
||||
MiniIcons.mock_nvim_web_devicons()
|
||||
MiniIcons.tweak_lsp_kind()
|
||||
end)
|
||||
|
||||
@@ -1,13 +1 @@
|
||||
MiniDeps.later(function()
|
||||
local gen_loader = require("mini.snippets").gen_loader
|
||||
require("mini.snippets").setup({
|
||||
snippets = {
|
||||
-- Load custom file with global snippets first (adjust for Windows)
|
||||
gen_loader.from_file("~/.config/nvim/snippets/global.json"),
|
||||
|
||||
-- Load snippets based on current language by reading files from
|
||||
-- "snippets/" subdirectories from 'runtimepath' directories.
|
||||
gen_loader.from_lang(),
|
||||
},
|
||||
})
|
||||
end)
|
||||
MiniDeps.later(function() require("mini.snippets").setup() end)
|
||||
|
||||
@@ -3,7 +3,6 @@ local now_if_args = vim.fn.argc(-1) > 0 and MiniDeps.now or MiniDeps.later
|
||||
now_if_args(function()
|
||||
MiniDeps.add({
|
||||
source = "nvim-treesitter/nvim-treesitter",
|
||||
checkout = "main",
|
||||
hooks = { post_checkout = function() vim.cmd("TSUpdate") end },
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user