-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathinit.lua
More file actions
30 lines (27 loc) · 1.28 KB
/
init.lua
File metadata and controls
30 lines (27 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
-- ************************************************************************** --
-- --
-- ::: :::::::: --
-- init.lua :+: :+: :+: --
-- +:+ +:+ +:+ --
-- By: babonnet <babonnet@42angouleme.fr> +#+ +:+ +#+ --
-- +#+#+#+#+#+ +#+ --
-- Created: 2024/04/16 16:29:45 by babonnet #+# #+# --
-- Updated: 2025/08/15 15:39:07 by bonsthie ### ########.fr --
-- --
-- ************************************************************************** --
-- Get version table: {major, minor, patch}
local version = vim.version()
if version.major == 0 and version.minor < 9 then
vim.notify(
string.format(
"⚠️ Your Neovim version is %d.%d.%d. This config requires at least 0.9.0.",
version.major,
version.minor,
version.patch
),
vim.log.levels.WARN
)
return -- Stop config loading gracefully
else
require('barnabait')
end