DEVELOPMENT ENVIRONMENT

~alex/dotfiles

ref: 3e6f6ae919f6c375b2b50711156a5fff12d9128f dotfiles/nvim/lua/plugins/zig-lamp.lua -rw-r--r-- 892 bytes
3e6f6ae9 — Alejandro Laguna chore: update readme 16 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
return {
	"jinzhongjia/zig-lamp",
	event = "VeryLazy",
	-- Optional but recommended: build the local FFI lib to enable faster/safer verification & formatting
	build = ":ZigLampBuild async",
	dependencies = {
		"nvim-lua/plenary.nvim",
	},
	init = function()
		-- Backward-compatible global vars (all optional)
		-- Auto-install ZLS: timeout in milliseconds; set to nil to disable
		vim.g.zig_lamp_zls_auto_install = nil
		-- Fallback to system zls when no local match is found
		vim.g.zig_lamp_fall_back_sys_zls = nil
		-- Extra LSP options merged into defaults
		vim.g.zig_lamp_zls_lsp_opt = {}
		-- ZLS server settings (overrides built-in recommendations)
		vim.g.zig_lamp_zls_settings = {}
		-- Help text color for the package panel
		vim.g.zig_lamp_pkg_help_fg = "#CF5C00"
		-- Timeout (ms) used by `zig fetch` when retrieving url hashes
		vim.g.zig_lamp_zig_fetch_timeout = 5000
	end,
}