-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
90 lines (79 loc) · 5.83 KB
/
init.lua
File metadata and controls
90 lines (79 loc) · 5.83 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
-- ╭────────────────────────────────────────────────────────────────────────────────────────────────────╮
-- │ │
-- │ .a@@@@@#########@@@@a. │
-- │ .a@@######@@@mm@@mm######@@@a. │
-- │ .a####@@@@@@@@@@@@@@@@@@@mm@@##@@v;%%,. │
-- │ .a###v@@@@@@@@vvvvvvVVvvvvvv@@@@#@v;%%%vv%%, │
-- │ .a##vv@@@@@@@@vv%%%%;S, .S;%%vv@@#v;%%'/%vvvv%; │
-- │ .a##@v@@@@@vv%%vvvvvv%%;SssS;%%vvvv@v;%%./%vvvvvv%; │
-- │ ,a##vv@@@vv%%%@@@@@@@@@@@@mmmmmmmmmvv;%%%%vvvvvvvvv%; │
-- │ .a##@@@@@@@@@@@@@@@@@@@@@@@mmmmmvv;%%%%%vvvvvvvvvvv%; │
-- │ ###vv@@@v##@v@@@@@@@@@@mmv;%;%;%;%;%;%;%;%;%;%;%,%vv%' │
-- │ a#vv@@@@v##v@@@@@@@@###@@@@@v%v%v%v%v%v%v% ;%%;' │
-- │ ',a@@@@@@@v@@@@@@@@v###v@@@nvnvnvnvnvnvnvnv' .%;' │
-- │ a###@@@@@@@###v@@@v##v@@@mnmnmnmnmnmnmnmnmn. ;' │
-- │ ,###vv@@@@v##v@@@@@@v@@@@v##v@@@@@v###v@@@##@. │
-- │ ###vv@@@@@@v@@###v@@@@@@@@v@@@@@@v##v@@@v###v@@. │
-- │ a@vv@@@@@@@@@v##v@@@@@@@@@@@@@@;@@@v@@@@v##v@@@@@@a │
-- │ ',@@@@@@;@@@@@@v@@@@@@@@@@@@@@@;%@@@@@@@@@v@@@@;@@@@@a │
-- │ .@@@@@@;%@@;@@@@@@@;;@@@@@;@@@@;%%;@@@@@;@@@@;@@@;@@@@@@. │
-- │ ,a@@@;vv;@%;@@@@@;%%v%;@@@;@@@;%vv%%;@@@;%;@@;%@@@;%;@@;%@@a │
-- │ .@@@@@@;%@@;@@@@@@@;;@@@@@;@@@@;%%;@@@@@;@@@@;@@@;@@@@@@ear@ea │
-- │ ,a@@@;vv;@%;@@@@@;%%v%;@@@;@@@;%vv%%;@@@;%;@@;%@@@;%;@@;%@@a@@ea │
-- │ a@;vv;%%%;@@;%%;vvv;%%@@;%;@;%vvv;%;@@;%%%;@;%;@;%%%@@;%%;.`@@@ea │
-- │ ;@;%;vvv;%;@;%%;vv;%%%%v;%%%;%vv;%%v;@@;%vvv;%;%;%;%%%;%%%%;.%,@@@ea │
-- │ %%%;vv;%;vv;%%%v;%%%%;vvv;%%%v;%%%;vvv;%;vv;%%%%%;vv;%%%;vvv;.%%%,$l;a │
-- │ │
-- │ You are about to experience a potent dosage of Neovim Watch your steps. │
-- │ Version 0.11.3 │
-- │ Copyright (c) 2025 Author. All Rights Reserved. │
-- │ │
-- │ \ | __| _ \\ \ /_ _| \ | │
-- │ . | _| ( |\ \ / | |\/ | │
-- │ _|\_|___|\___/ \_/ ___|_| _| │
-- │ ╔══════════════════════════════════════════╗ │
-- │ ║ ⎋ HERE BE VIMPIRES ⎋ ║ │
-- │ ╚══════════════════════════════════════════╝ │
-- ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
local load_module = function(mod_name)
local ok, err = pcall(require, mod_name)
if not ok then
local msg = "failed loading: " .. mod_name .. "\n " .. err
vim.notify(msg, vim.log.levels.ERROR)
end
end
local init_modules = {
"services",
"patches",
"plugins",
"core",
"settings",
-- 'scripts',
-- 'dev'
}
for _, module in ipairs(init_modules) do
load_module(module)
end
-- Loading the neovi
if vim.g.neovide then
local status, neovide_config = pcall(require("units.neovideConfig").neovide_config)
if not status then
-- Handle any errors or exceptions
vim.print("Error: ", vim.log.levels.WARN, neovide_config)
end
end
-- Adding transprancency to nvim
vim.g.transparent_enabled = false
if vim.g.transparent_enabled then
local transparent = require "transparent"
-- Clear prefixes for specific plugins
transparent.clear_prefix "BufferLine"
transparent.clear_prefix "NeoTree"
-- Uncomment the line below to clear prefix for lualine if needed
-- transparent.clear_prefix("lualine")
end
-- set the indent guide to a soft green, no bg
vim.api.nvim_set_hl(0, "SnacksIndentScope", { fg = "#eef6fb", bg = "NONE" })
-- temp error with nvim.progress and nvim.lspsaga [to be updated ]
---@diagnostic disable-next-line: duplicate-set-field
vim.deprecate = function() end