-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmason-tool-installer.lua
More file actions
49 lines (44 loc) · 2.05 KB
/
mason-tool-installer.lua
File metadata and controls
49 lines (44 loc) · 2.05 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
return {
-- a list of all tools you want to ensure are installed upon start by Mason
ensure_installed = {
{ "lua-language-server", auto_update = true },
{ "csharpier", auto_update = true },
{ "glsl_analyzer", auto_update = true },
{ "clangd", auto_update = true },
{ "stylua", auto_update = true },
},
-- if set to true this will check each tool for updates. If updates
-- are available the tool will be updated. This setting does not
-- affect :MasonToolsUpdate or :MasonToolsInstall.
-- Default: false
auto_update = false,
-- automatically install / update on startup. If set to false nothing
-- will happen on startup. You can use :MasonToolsInstall or
-- :MasonToolsUpdate to install tools and check for updates.
-- Default: true
run_on_start = true,
-- set a delay (in ms) before the installation starts. This is only
-- effective if run_on_start is set to true.
-- e.g.: 5000 = 5 second delay, 10000 = 10 second delay, etc...
-- Default: 0
start_delay = 3000, -- 3 second delay
-- Only attempt to install if 'debounce_hours' number of hours has
-- elapsed since the last time Neovim was started. This stores a
-- timestamp in a file named stdpath('data')/mason-tool-installer-debounce.
-- This is only relevant when you are using 'run_on_start'. It has no
-- effect when running manually via ':MasonToolsInstall' etc....
-- Default: nil
debounce_hours = 5, -- at least 5 hours between attempts to install/update
-- By default all integrations are enabled. If you turn on an integration
-- and you have the required module(s) installed this means you can use
-- alternative names, supplied by the modules, for the thing that you want
-- to install. If you turn off the integration (by setting it to false) you
-- cannot use these alternative names. It also suppresses loading of those
-- module(s) (assuming any are installed) which is sometimes wanted when
-- doing lazy loading.
integrations = {
["mason-lspconfig"] = false,
["mason-null-ls"] = false,
["mason-nvim-dap"] = false,
},
}