-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.lua
64 lines (57 loc) · 2.28 KB
/
settings.lua
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
-- Please check `lua/core/settings.lua` to view the full list of configurable settings
local settings = {}
-- If cannot connect to port 22, set false
settings["use_ssh"] = true
settings["use_copilot"] = false
-- Set it to false if there are no need to format on save.
---@type boolean
settings["format_on_save"] = false
-- Set it to false if the notification after formatting is annoying.
---@type boolean
settings["format_notify"] = false
-- Overwrite colorscheme to onedark
settings["colorscheme"] = "onedark"
-- plug: mason-lspconfig: ensure_installed used
-- @type string[]
settings["lsp_deps"] = function(defaults)
return {
defaults[5], -- "lua_ls"
defaults[6], -- "pylsp"
"jdtls",
"rust_analyzer",
}
end
-- settings["transparent_background"] = true
settings["disabled_plugins"] = {
-- "zbirenbaum/copilot.lua"
-- "hrsh7th/nvim-cmp"
}
-- Set the dashboard startup image here
-- You can generate the ascii image using: https://github.com/TheZoraiz/ascii-image-converter
-- More info: https://github.com/ayamir/nvimdots/wiki/Issues#change-dashboard-startup-image
---@type string[]
settings["dashboard_image"] = function() return {
[[ ___ ]],
[[ ,-"" `. ]],
[[ ,' _ e )`-._ ]],
[[ / ,' `-._<.===-' ]],
[[ / / ]],
[[ / ; ]],
[[ _.--.__ / ; ]],
[[ (`._ _.-"" "--' | ]],
[[ <_ `-"" \ ]],
[[ <`- : ]],
[[ (__ <__. ; ]],
[[ `-. '-.__. _.' / ]],
[[ \ `-.__,-' _,' ]],
[[ `._ , /__,-' ]],
[[ ""._\__,'< <____ ]],
[[ | | `----.`. ]],
[[ | | \ `. ]],
[[ ; |___ \-`` ]],
[[ \ --< ]],
[[ `.`.< ]],
[[ `-' ]],
}
end
return settings