From 1a95e151db29aaf7d1af2e24e3ab2256e5aaa33c Mon Sep 17 00:00:00 2001 From: jordanyono Date: Mon, 4 May 2026 23:14:21 -0400 Subject: [PATCH] fix --- init.lua | 7 ++++--- lua/config/lazy.lua | 3 +++ lua/config/options.lua | 7 +++++++ lua/config/plugins/blink.lua | 12 ++++-------- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/init.lua b/init.lua index 74a1a4ca..b6ccc7dc 100644 --- a/init.lua +++ b/init.lua @@ -3,8 +3,9 @@ Module: none — Neovim executes this file before any Lua `require`. Purpose - Single entrypoint for your configuration. Everything else lives under - `lua/` so this file stays small and easy to skim. + Single entrypoint for your configuration. Core Lua lives under + `lua/config/` (options, keymaps, lazy.nvim, plugin specs); personal extras + under `lua/custom/`. Rationale A minimal root `init.lua` avoids duplicating logic that belongs in modular @@ -13,4 +14,4 @@ See `:help config` and `:help lua-require`. ]] -require 'plugins.kickstart' +require 'config' diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 2fecac63..28c98832 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -25,6 +25,9 @@ local rtp = vim.opt.rtp rtp:prepend(lazypath) require('lazy').setup(require 'config.plugins.spec', { + -- No luarocks/hererocks: avoids :checkhealth lazy ERROR when hererocks is missing. + -- Re-enable if you install a plugin that requires luarocks (:help lazy.nvim-rocks). + rocks = { enabled = false }, ui = { icons = vim.g.have_nerd_font and {} or { cmd = '⌘', diff --git a/lua/config/options.lua b/lua/config/options.lua index 757bebd1..545e0a53 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -14,6 +14,13 @@ See `:help vim.o`, `:help option-list`, `:help 'clipboard'`. ]] +-- Legacy providers (optional): silence :checkhealth vim.provider if you do not +-- use :python, :perl, or Node-driven remote plugins. Lua-only configs can leave these off. +vim.g.loaded_node_provider = 0 +vim.g.loaded_perl_provider = 0 +vim.g.loaded_python3_provider = 0 +vim.g.loaded_ruby_provider = 0 + vim.o.mouse = 'a' vim.o.showmode = false diff --git a/lua/config/plugins/blink.lua b/lua/config/plugins/blink.lua index 436cab50..95582633 100644 --- a/lua/config/plugins/blink.lua +++ b/lua/config/plugins/blink.lua @@ -95,14 +95,10 @@ return { snippets = { preset = 'luasnip' }, - -- Blink.cmp includes an optional, recommended rust fuzzy matcher, - -- which automatically downloads a prebuilt binary when enabled. - -- - -- By default, we use the Lua implementation instead, but you may enable - -- the rust implementation via `'prefer_rust_with_warning'` - -- - -- See :h blink-cmp-config-fuzzy for more information - fuzzy = { implementation = 'lua' }, + -- Rust fuzzy matcher (prebuilt binary on supported platforms). Fixes + -- :checkhealth blink “fuzzy lib is not downloaded” when using pure Lua. + -- See :h blink-cmp-config-fuzzy + fuzzy = { implementation = 'prefer_rust_with_warning' }, -- Shows a signature help window while you type arguments for a function signature = { enabled = true },