DEVELOPMENT ENVIRONMENT

~alex/dotfiles

ref: 3e6f6ae919f6c375b2b50711156a5fff12d9128f dotfiles/nvim/lua/plugins/presence.lua -rw-r--r-- 2.7 KiB
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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
return {
	"vyfor/cord.nvim",
	name = "cord",
	config = function()
		require("cord").setup({
			enabled = true,
			log_level = vim.log.levels.OFF,
			editor = {
				client = "neovim",
				tooltip = "neovim",
				icon = nil,
			},
			display = {
				theme = "atom",
				flavor = "accent",
				swap_fields = false,
				swap_icons = false,
			},
			timestamp = {
				enabled = true,
				reset_on_idle = false,
				reset_on_change = false,
			},
			idle = {
				enabled = false,
				timeout = 300000,
				show_status = true,
				ignore_focus = true,
				unidle_on_focus = true,
				smart_idle = true,
				details = "Idling",
				state = nil,
				tooltip = "💤",
				icon = nil,
			},
			text = {
				default = nil,
				workspace = function(opts)
					return "in " .. opts.workspace
				end,
				viewing = function(opts)
					return "viewing " .. opts.filename
				end,
				editing = function(opts)
					return "editing " .. opts.filename
				end,
				file_browser = function(opts)
					return "browsing files in " .. opts.name
				end,
				plugin_manager = function(opts)
					return "managing plugins in " .. opts.name
				end,
				lsp = function(opts)
					return "configuring LSP in " .. opts.name
				end,
				docs = function(opts)
					return "reading " .. opts.name
				end,
				vcs = function(opts)
					return "committing changes in " .. opts.name
				end,
				notes = function(opts)
					return "taking notes in " .. opts.name
				end,
				debug = function(opts)
					return "debugging in " .. opts.name
				end,
				test = function(opts)
					return "testing in " .. opts.name
				end,
				diagnostics = function(opts)
					return "fixing problems in " .. opts.name
				end,
				games = function(opts)
					return "playing " .. opts.name
				end,
				terminal = function(opts)
					return "running commands in " .. opts.name
				end,
				dashboard = "home",
			},
			buttons = nil,
			-- buttons = {
			--   {
			--     label = 'View Repository',
			--     url = function(opts) return opts.repo_url end,
			--   },
			-- },
			assets = nil,
			variables = nil,
			hooks = {
				ready = nil,
				shutdown = nil,
				pre_activity = nil,
				post_activity = nil,
				idle_enter = nil,
				idle_leave = nil,
				workspace_change = nil,
			},
			plugins = nil,
			advanced = {
				plugin = {
					autocmds = true,
					cursor_update = "on_hold",
					match_in_mappings = true,
				},
				server = {
					update = "fetch",
					pipe_path = nil,
					executable_path = nil,
					timeout = 300000,
				},
				discord = {
					reconnect = {
						enabled = false,
						interval = 5000,
						initial = true,
					},
				},
				workspace = {
					root_markers = {
						".git",
						".hg",
						".svn",
					},
					limit_to_cwd = false,
				},
			},
		})
	end,
}