migrate nvim config to 0.12.0: vim.pack, ui2, snacks -> mini, just general spring cleaning

This commit is contained in:
Martin Larsson 2026-04-05 20:05:00 +02:00
parent d1178fbe59
commit 14b1a9b057
70 changed files with 1081 additions and 1483 deletions

View file

@ -51,7 +51,10 @@ return {
local fname = vim.api.nvim_buf_get_name(bufnr)
root_file_patterns = insert_package_json(root_file_patterns, "eslintConfig", fname)
on_dir(vim.fs.dirname(vim.fs.find(root_file_patterns, { path = fname, upward = true })[1]))
local root = vim.fs.find(root_file_patterns, { path = fname, upward = true })[1]
if root then
on_dir(vim.fs.dirname(root))
end
end,
workspace_required = true,
settings = {