init
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
-- Version check: require Neovim 0.11+
|
||||
if vim.fn.has("nvim-0.11") == 0 then
|
||||
vim.api.nvim_echo({
|
||||
{ "ERROR: ", "ErrorMsg" },
|
||||
{ "This config requires Neovim 0.11 or higher.\n", "Normal" },
|
||||
{ "WARNING: ", "WarningMsg" },
|
||||
{ "Please update Neovim to use this configuration.", "Normal" },
|
||||
}, true, {})
|
||||
return
|
||||
end
|
||||
|
||||
-- Set leader keys before lazy loads
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
Reference in New Issue
Block a user