fix
This commit is contained in:
parent
41981bc6d5
commit
1a95e151db
7
init.lua
7
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'
|
||||
|
|
|
|||
|
|
@ -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 = '⌘',
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue