dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit fe38ef19e99bfe37ca99fee875fbec35b8d9d890
parent c25a58d4bbd6f9dea443d49459c3d01552c397e7
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Mon,  3 Aug 2026 00:12:33 +0200

nvim: add ui2

Diffstat:
Mnvim/init.lua | 24++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/nvim/init.lua b/nvim/init.lua @@ -6,6 +6,10 @@ call setenv("MYOLDVIMRC", "~/.vim/vimrc") source $MYOLDVIMRC ]]) +if vim.version() >= vim.version.parse("0.12") then + require("vim._core.ui2").enable({}) +end + -- Set <space> as the leader key -- See `:help mapleader` -- NOTE: Must happen before plugins are required (otherwise wrong leader will be used) @@ -15,21 +19,21 @@ vim.keymap.set({ "n", "v" }, "<Space>", "<Nop>", { silent = true }) -- Install Lazy local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not (vim.uv or vim.loop).fs_stat(lazypath) then - local lazyrepo = "https://github.com/folke/lazy.nvim.git" - local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) - if vim.v.shell_error ~= 0 then - error("Error cloning lazy.nvim:\n" .. out) - end + local lazyrepo = "https://github.com/folke/lazy.nvim.git" + local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) + if vim.v.shell_error ~= 0 then + error("Error cloning lazy.nvim:\n" .. out) + end end vim.opt.rtp:prepend(lazypath) -- Load everything from ./lua/plugins.lua, ./lua/plugins/*.lua require("lazy").setup("plugins", { - performance = { - rtp = { - reset = false, - }, - }, + performance = { + rtp = { + reset = false, + }, + }, }) -- Set completeopt to have a better completion experience