|
| 1 | +{ |
| 2 | + empty = { |
| 3 | + # don't run tests as they try to access the network. |
| 4 | + test.runNvim = false; |
| 5 | + plugins.cord.enable = true; |
| 6 | + }; |
| 7 | + |
| 8 | + defaults = { |
| 9 | + # don't run tests as they try to access the network. |
| 10 | + test.runNvim = true; |
| 11 | + plugins.cord = { |
| 12 | + enable = true; |
| 13 | + |
| 14 | + settings = { |
| 15 | + enabled = true; |
| 16 | + log_level.__raw = "vim.log.levels.OFF"; |
| 17 | + editor = { |
| 18 | + client = "neovim"; |
| 19 | + tooltip = "The Superior Text Editor"; |
| 20 | + icon = null; |
| 21 | + }; |
| 22 | + display = { |
| 23 | + theme = "default"; |
| 24 | + flavor = "dark"; |
| 25 | + swap_fields = false; |
| 26 | + swap_icons = false; |
| 27 | + }; |
| 28 | + timestamp = { |
| 29 | + enabled = true; |
| 30 | + reset_on_idle = false; |
| 31 | + reset_on_change = false; |
| 32 | + }; |
| 33 | + idle = { |
| 34 | + enabled = true; |
| 35 | + timeout = 300000; |
| 36 | + show_status = true; |
| 37 | + ignore_focus = true; |
| 38 | + unidle_on_focus = true; |
| 39 | + smart_idle = true; |
| 40 | + details = "Idling"; |
| 41 | + state = null; |
| 42 | + tooltip = "💤"; |
| 43 | + icon = null; |
| 44 | + }; |
| 45 | + text = { |
| 46 | + default = null; |
| 47 | + workspace.__raw = "function(opts) return 'In ' .. opts.workspace end"; |
| 48 | + viewing.__raw = "function(opts) return 'Viewing ' .. opts.filename end"; |
| 49 | + editing.__raw = "function(opts) return 'Editing ' .. opts.filename end"; |
| 50 | + file_browser.__raw = "function(opts) return 'Browsing files in ' .. opts.name end"; |
| 51 | + plugin_manager.__raw = "function(opts) return 'Managing plugins in ' .. opts.name end"; |
| 52 | + lsp.__raw = "function(opts) return 'Configuring LSP in ' .. opts.name end"; |
| 53 | + docs.__raw = "function(opts) return 'Reading ' .. opts.name end"; |
| 54 | + vcs.__raw = "function(opts) return 'Committing changes in ' .. opts.name end"; |
| 55 | + notes.__raw = "function(opts) return 'Taking notes in ' .. opts.name end"; |
| 56 | + debug.__raw = "function(opts) return 'Debugging in ' .. opts.name end"; |
| 57 | + test.__raw = "function(opts) return 'Testing in ' .. opts.name end"; |
| 58 | + diagnostics.__raw = "function(opts) return 'Fixing problems in ' .. opts.name end"; |
| 59 | + games.__raw = "function(opts) return 'Playing ' .. opts.name end"; |
| 60 | + terminal.__raw = "function(opts) return 'Running commands in ' .. opts.name end"; |
| 61 | + dashboard = "Home"; |
| 62 | + }; |
| 63 | + buttons = null; |
| 64 | + assets = null; |
| 65 | + variables = null; |
| 66 | + hooks = { |
| 67 | + ready = null; |
| 68 | + shutdown = null; |
| 69 | + pre_activity = null; |
| 70 | + post_activity = null; |
| 71 | + idle_enter = null; |
| 72 | + idle_leave = null; |
| 73 | + workspace_change = null; |
| 74 | + }; |
| 75 | + plugins = null; |
| 76 | + advanced = { |
| 77 | + plugin = { |
| 78 | + autocmds = true; |
| 79 | + cursor_update = "on_hold"; |
| 80 | + match_in_mappings = true; |
| 81 | + }; |
| 82 | + server = { |
| 83 | + update = "fetch"; |
| 84 | + pipe_path = null; |
| 85 | + executable_path = null; |
| 86 | + timeout = 300000; |
| 87 | + }; |
| 88 | + discord = { |
| 89 | + reconnect = { |
| 90 | + enabled = false; |
| 91 | + interval = 5000; |
| 92 | + initial = true; |
| 93 | + }; |
| 94 | + }; |
| 95 | + }; |
| 96 | + }; |
| 97 | + }; |
| 98 | + }; |
| 99 | + |
| 100 | + example = { |
| 101 | + # don't run tests as they try to access the network. |
| 102 | + test.runNvim = false; |
| 103 | + plugins.cord = { |
| 104 | + enable = true; |
| 105 | + |
| 106 | + settings = { |
| 107 | + usercmd = false; |
| 108 | + display = { |
| 109 | + show_time = true; |
| 110 | + swap_fields = false; |
| 111 | + swap_icons = false; |
| 112 | + }; |
| 113 | + ide = { |
| 114 | + enable = true; |
| 115 | + show_status = true; |
| 116 | + timeout = 300000; |
| 117 | + text = "Idle"; |
| 118 | + tooltip = "💤"; |
| 119 | + }; |
| 120 | + text = { |
| 121 | + viewing = "Viewing {}"; |
| 122 | + editing = "Editing {}"; |
| 123 | + file_browser = "Browsing files in {}"; |
| 124 | + vcs = "Committing changes in {}"; |
| 125 | + workspace = "In {}"; |
| 126 | + }; |
| 127 | + }; |
| 128 | + }; |
| 129 | + }; |
| 130 | +} |
0 commit comments