Skip to content

Commit 1a95e15

Browse files
committed
fix
1 parent 41981bc commit 1a95e15

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

init.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
Module: none — Neovim executes this file before any Lua `require`.
44
55
Purpose
6-
Single entrypoint for your configuration. Everything else lives under
7-
`lua/` so this file stays small and easy to skim.
6+
Single entrypoint for your configuration. Core Lua lives under
7+
`lua/config/` (options, keymaps, lazy.nvim, plugin specs); personal extras
8+
under `lua/custom/`.
89
910
Rationale
1011
A minimal root `init.lua` avoids duplicating logic that belongs in modular
@@ -13,4 +14,4 @@
1314
See `:help config` and `:help lua-require`.
1415
]]
1516

16-
require 'plugins.kickstart'
17+
require 'config'

lua/config/lazy.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ local rtp = vim.opt.rtp
2525
rtp:prepend(lazypath)
2626

2727
require('lazy').setup(require 'config.plugins.spec', {
28+
-- No luarocks/hererocks: avoids :checkhealth lazy ERROR when hererocks is missing.
29+
-- Re-enable if you install a plugin that requires luarocks (:help lazy.nvim-rocks).
30+
rocks = { enabled = false },
2831
ui = {
2932
icons = vim.g.have_nerd_font and {} or {
3033
cmd = '',

lua/config/options.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
See `:help vim.o`, `:help option-list`, `:help 'clipboard'`.
1515
]]
1616

17+
-- Legacy providers (optional): silence :checkhealth vim.provider if you do not
18+
-- use :python, :perl, or Node-driven remote plugins. Lua-only configs can leave these off.
19+
vim.g.loaded_node_provider = 0
20+
vim.g.loaded_perl_provider = 0
21+
vim.g.loaded_python3_provider = 0
22+
vim.g.loaded_ruby_provider = 0
23+
1724
vim.o.mouse = 'a'
1825

1926
vim.o.showmode = false

lua/config/plugins/blink.lua

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,10 @@ return {
9595

9696
snippets = { preset = 'luasnip' },
9797

98-
-- Blink.cmp includes an optional, recommended rust fuzzy matcher,
99-
-- which automatically downloads a prebuilt binary when enabled.
100-
--
101-
-- By default, we use the Lua implementation instead, but you may enable
102-
-- the rust implementation via `'prefer_rust_with_warning'`
103-
--
104-
-- See :h blink-cmp-config-fuzzy for more information
105-
fuzzy = { implementation = 'lua' },
98+
-- Rust fuzzy matcher (prebuilt binary on supported platforms). Fixes
99+
-- :checkhealth blink “fuzzy lib is not downloaded” when using pure Lua.
100+
-- See :h blink-cmp-config-fuzzy
101+
fuzzy = { implementation = 'prefer_rust_with_warning' },
106102

107103
-- Shows a signature help window while you type arguments for a function
108104
signature = { enabled = true },

0 commit comments

Comments
 (0)