@fresh-editor/fresh-editor 0.1.24 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,386 @@
1
+ # Release Notes
2
+
3
+ ## 0.1.27 - Unreleased
4
+
5
+ ### Features
6
+
7
+ * **Update Checker**: Automatically checks for new versions periodically (every 24 hours) and on quit, showing a notification when updates are available.
8
+
9
+ * **Diagnostics Panel**: New diagnostics panel plugin showing all errors/warnings in a dedicated split view. Opens in horizontal split, auto-updates on buffer change, and syncs cursor position with F8/Shift+F8 navigation. Includes help line with keybinding hints.
10
+
11
+ * **Diagnostics API**: New plugin API for accessing LSP diagnostics programmatically.
12
+
13
+ * **LSP Initialization Options**: Added support for `initialization_options` in LSP server configuration.
14
+
15
+ * **Warning Log Layer**: Captures WARN+ level logs to a file and can open them in the editor for debugging.
16
+
17
+ * **Plugin Hook**: Added `cursor_moved` hook for plugins to respond to cursor position changes. Standardized hook naming to use underscores.
18
+
19
+ ### Bug Fixes
20
+
21
+ * **UTF-8 Status Bar**: Fixed panic when truncating status bar text mid-character.
22
+
23
+ * **Session Restore**: Fixed session restore when a plugin buffer was the active buffer.
24
+
25
+ * **Viewport Sync**: Fixed viewport sync issues after SplitViewState refactoring.
26
+
27
+ * **LSP Null Response**: Treat null LSP response as valid result instead of error.
28
+
29
+ * **LSP Auto-Start**: Persist LSP auto-start setting when manually stopping the server.
30
+
31
+ * **Safe String Slicing**: Use safe string slicing in get_text_to_end_of_line to prevent panics.
32
+
33
+ ### Internal
34
+
35
+ * **SplitViewState Refactoring**: Made SplitViewState authoritative for viewport state.
36
+
37
+ * **Default Log Path**: Use system temp directory for default log file path.
38
+
39
+ * **Test Reliability**: Fixed flaky tests on macOS and Windows, improved diagnostics panel tests.
40
+
41
+ * **Dependency Updates**: Updated deno_core, schemars, libloading, and GitHub Actions dependencies.
42
+
43
+ * **Documentation**: Added macOS plugin location information, documented reloadConfig plugin API.
44
+
45
+ ---
46
+
47
+ ## 0.1.26
48
+
49
+ ### Bug Fixes
50
+
51
+ * **aarch64 Build**: Fixed build on aarch64 Linux by enabling v8_use_custom_libcxx.
52
+
53
+ ---
54
+
55
+ ## 0.1.25
56
+
57
+ ### Features
58
+
59
+ * **GPM Mouse Support**: Added mouse support in Linux virtual consoles (TTY) via the GPM daemon (#231). Uses dlopen to load libgpm.so at runtime, so the binary works on systems without GPM installed. Gracefully falls back to standard terminal mouse protocol when GPM is unavailable.
60
+
61
+ * **Configurable Highlight Context**: Syntax highlighting lookback/lookforward is now configurable via `highlight_context_bytes` in config (default increased from 1KB to 10KB). Fixes inaccurate highlighting when viewing the middle of files with long multi-line constructs.
62
+
63
+ ### Bug Fixes
64
+
65
+ * **Mouse Wheel After Keyboard**: Fixed mouse wheel scroll not working in main editor after keyboard navigation (#248).
66
+
67
+ ### Internal
68
+
69
+ * **Reduced Logging**: Reduced verbose debug logging in default config.
70
+
71
+ * **Signal Handling**: Removed ctrlc dependency, use nix sigaction directly.
72
+
73
+ * **Test Reliability**: Fixed flaky auto-revert tests on macOS (FSEvents latency) and filesystems with 1-second mtime granularity.
74
+
75
+ * **Dependency Updates**: Reduced and updated dependencies.
76
+
77
+ ---
78
+
79
+ ## 0.1.24
80
+
81
+ ### Bug Fixes
82
+
83
+ * **Windows Build**: Fixed Windows build compatibility.
84
+
85
+ ---
86
+
87
+ ## 0.1.23
88
+
89
+ ### Bug Fixes
90
+
91
+ * **Split Close Tab Preservation**: Fixed tabs not being preserved when closing a split.
92
+
93
+ ### Performance
94
+
95
+ * **Diff Optimization**: Optimized diff_since_saved with two-phase algorithm.
96
+
97
+ ---
98
+
99
+ ## 0.1.22
100
+
101
+ ### Features
102
+
103
+ * **CLI file:line:col**: Support `file:line:col` format on CLI command (#217).
104
+
105
+ * **LSP Error Logging**: LSP stderr is now piped to a file and opened as read-only buffer on error.
106
+
107
+ * **Config Languages**: Use config languages section for LSP language detection.
108
+
109
+ ### Bug Fixes
110
+
111
+ * **TypeScript Highlighting**: Fixed TypeScript syntax highlighting by falling back to tree-sitter.
112
+
113
+ * **Plugin Race Condition**: Fixed race condition in plugin hooks reading stale state snapshot.
114
+
115
+ * **Long Path Truncation**: Truncate long paths in Open File prompt with styled [...].
116
+
117
+ * **Graceful Shutdown**: Prevent spurious LspError on graceful shutdown.
118
+
119
+ ### Internal
120
+
121
+ * **Syntect for Highlighting**: Use syntect for syntax highlighting, retain tree-sitter for other features (#237).
122
+
123
+ ---
124
+
125
+ ## 0.1.21
126
+
127
+ ### Packaging
128
+
129
+ * **AUR Package**: Added AUR package automation and installation instructions.
130
+
131
+ * **npm and crates.io**: Added automated npm and crates.io publishing.
132
+
133
+ ---
134
+
135
+ ## 0.1.20
136
+
137
+ ### Features
138
+
139
+ * **Theme Editor Plugin**: New interactive theme editor for customizing colors. Allows editing all theme color values with a visual interface.
140
+
141
+ * **Drag-to-Select Mouse Support**: Click and drag to select text, similar to graphical editors.
142
+
143
+ * **Homebrew Distribution**: Preliminary setup for Homebrew distribution on macOS.
144
+
145
+ ### Bug Fixes
146
+
147
+ * **File Open Dialog**: Fixed handling of pasted paths in the file open dialog. Previously pasting a full path would fail; now it correctly opens the file or navigates to the directory.
148
+
149
+ * **Mouse Click on Wrapped Lines**: Fixed mouse click positioning not working correctly on wrapped lines and empty lines.
150
+
151
+ ### Packaging
152
+
153
+ * **Linux Packages**: `.deb` and `.rpm` packages are now available for Debian/Ubuntu and Fedora/RHEL distributions respectively.
154
+
155
+ * **Homepage**: Set official homepage to https://sinelaw.github.io/fresh/
156
+
157
+ ---
158
+
159
+ ## 0.1.19
160
+
161
+ ### Packaging
162
+
163
+ * **Linux packages fix**: Fixed `.deb` and `.rpm` packages not being included in GitHub releases.
164
+
165
+ ---
166
+
167
+ ## 0.1.18
168
+
169
+ ### Features
170
+
171
+ * **Auto-load user config**: Startup now loads the default config file (e.g. `~/.config/fresh/config.json`) so themes and preferences persist without needing `--config`.
172
+ * **Clearer confirmation prompts**: Destructive prompts now use action verbs (revert, overwrite, discard) instead of generic y/n, reducing misclicks.
173
+
174
+ ### Bug Fixes
175
+
176
+ * **UTF-8 safe deletion**: Backspace/Delete operate on full Unicode characters (emojis, accented letters, currency symbols) instead of raw bytes.
177
+
178
+ ### Packaging
179
+
180
+ * **Deb/RPM artifacts**: Release workflow now builds stripped `.deb` and `.rpm` packages for x86_64 and aarch64, with matrixed install/uninstall tests across Ubuntu 22.04/24.04, Debian 12, Fedora 39/40, and Rocky Linux 9.
181
+
182
+ ---
183
+
184
+ ## 0.1.15 - Unreleased
185
+
186
+ ### Features
187
+
188
+ * **TextMate Grammar Support**: Syntax highlighting now uses TextMate grammars via syntect for languages without tree-sitter support. Includes proper highlighting for Markdown (headings, bold, italic, code, links, quotes, lists).
189
+
190
+ * **Fuzzy Matching**: Command palette and file browser now use fzf-style fuzzy matching. Matches are highlighted and scored by consecutive characters, word boundaries, and match position.
191
+
192
+ * **Tab Navigation Commands**: New commands "Go to Next Tab" and "Go to Previous Tab" in the command palette for keyboard-driven tab switching.
193
+
194
+ * **File Recovery**: Emacs-style auto-recovery for unsaved changes. Buffers are automatically saved every 2 seconds to `~/.local/share/fresh/recovery/`. On startup, automatically recovers unsaved changes from crashed sessions. Uses chunked storage for large files to avoid memory issues.
195
+
196
+ * **Explorer Menu**: New menu bar entry with file explorer actions (New File, New Folder, Rename, Delete) and keybindings. Disabled items shown in theme colors when not applicable.
197
+
198
+ * **File Explorer Rename**: Press F2 or use Explorer menu to rename files/folders. Project root is protected from renaming.
199
+
200
+ * **Emacs-Style Readline Bindings**: Added terminal key equivalents for common operations:
201
+ - Ctrl+A: Home (beginning of line)
202
+ - Ctrl+E: End (end of line)
203
+ - Ctrl+K: Kill to end of line
204
+ - Ctrl+U: Kill to beginning of line
205
+ - Ctrl+W: Kill word backward
206
+ - Alt+D: Kill word forward
207
+ - Ctrl+Y: Yank (paste from kill ring)
208
+
209
+ ### Bug Fixes
210
+
211
+ * **Multi-Cursor Selection**: Fixed Ctrl+D selection replacement not working correctly (issue #210).
212
+
213
+ * **LSP Auto-Restart**: Fixed stopped LSP server incorrectly auto-restarting on edit.
214
+
215
+ * **File Explorer Selection**: Fixed selection being lost after rename completes.
216
+
217
+ * **Markdown Highlighting**: Fixed markdown files not getting syntax highlighting for headers, bold, italic, links, etc.
218
+
219
+ ### Performance
220
+
221
+ * **Recovery Write Performance**: Removed sync_all from recovery writes, reducing disk I/O overhead.
222
+
223
+ * **Large File Recovery**: Chunked recovery format applies edits directly without loading entire file into memory.
224
+
225
+ ---
226
+
227
+ ## 0.1.14
228
+
229
+ See git history for changes.
230
+
231
+ ---
232
+
233
+ ## 0.1.13
234
+
235
+ ### Features
236
+
237
+ * **Git Gutter Plugin**: Shows git diff indicators in the gutter for lines changed vs HEAD:
238
+ - │ (green): Added line
239
+ - │ (yellow): Modified line
240
+ - ▾ (red): Deleted line(s) below
241
+
242
+ * **Buffer Modified Plugin**: Shows unsaved changes with │ (blue) indicators for lines modified since last save.
243
+
244
+ * **Line Indicator System**: New plugin API for gutter indicators with automatic position tracking. Indicators use byte-position markers that shift automatically when text is inserted/deleted. Priority system allows multiple indicator types to coexist (diagnostics > git > buffer modified).
245
+
246
+ * **LCS-Based Line Diff**: Buffer modified indicators now use the classic LCS (Longest Common Subsequence) algorithm - the foundation of Unix diff - for accurate change detection. Correctly handles insertions without marking shifted lines as changed, and detects deletion points.
247
+
248
+ * **Content-Based Diff**: Diff comparison now uses actual byte content rather than piece tree structure. This means if you delete text and paste it back, the indicator correctly clears because the content matches the saved state.
249
+
250
+ ### Bug Fixes
251
+
252
+ * **Save As Undo History**: Fixed undo history being cleared after Save As due to auto-revert triggered by file watcher detecting the newly created file. Uses optimistic concurrency with mtime comparison to avoid spurious reverts.
253
+
254
+ * **Save As Dirty State**: Fixed undo dirty state not being tracked correctly after Save As on unnamed buffers (issue #191).
255
+
256
+ ### Performance
257
+
258
+ * **Large File Mode**: Diffing is now disabled in large file mode for performance. Uses the simpler is_modified() flag instead of expensive diff calculations for files with >10MB or unknown line counts.
259
+
260
+ ---
261
+
262
+ ## 0.1.12
263
+
264
+ ### Features
265
+
266
+ * **Live Grep Plugin**: Project-wide search with ripgrep integration and live preview. Search results update as you type (minimum 2 characters), with a split pane showing file context and syntax highlighting. Press Enter to open file at location, ESC to close preview.
267
+
268
+ * **Calculator Plugin**: Scientific calculator with clickable buttons and keyboard input. Supports parentheses, exponents (^), sqrt, ln, log, trig functions, pi, and e. Mouse click/hover support, copy button for results, and ANSI-colored UI with Unicode box drawing. ESC to close, DEL to clear.
269
+
270
+ * **File Explorer Improvements**:
271
+ - Shows file sizes (KB/MB/GB) and directory entry counts
272
+ - Close button (×) in title bar to hide explorer
273
+ - Left arrow on file/collapsed directory selects parent
274
+ - Keybinding changed from Ctrl+B to Ctrl+E (avoids tmux conflict)
275
+
276
+ * **Split View Close Buttons**: Split views now show a × button on the right side of the tab row (only when multiple splits exist) for easy closing.
277
+
278
+ * **Close Last Buffer**: Closing the last buffer now creates a fresh anonymous buffer instead of blocking with "Cannot close last buffer".
279
+
280
+ * **Alt+W Keybinding**: New shortcut to close the current tab.
281
+
282
+ * **Command Palette Source Column**: Shows where each command comes from - "builtin" or the plugin filename - in a right-aligned column.
283
+
284
+ * **Relative Buffer Names**: Buffer display names are now shown relative to the working directory.
285
+
286
+ ### Bug Fixes
287
+
288
+ * **File Explorer Toggle**: Fixed Ctrl+B/Ctrl+E toggle not working correctly - now properly opens/closes instead of just focusing.
289
+
290
+ * **Session Restore**: Fixed file explorer not initializing when restoring a session with explorer visible.
291
+
292
+ * **Open File Popup**: Hide status bar when file browser popup is shown; improved high-contrast theme colors (cyan instead of yellow).
293
+
294
+ ---
295
+
296
+ ## 0.1.11
297
+
298
+ See git history for changes.
299
+
300
+ ---
301
+
302
+ ## 0.1.10
303
+
304
+ ### Features
305
+
306
+ * **Session Persistence**: Automatically saves per-project state (open files, tabs, split layout, cursor/scroll positions, file explorer state, search/replace history and options, bookmarks) to the XDG data dir and restores it on launch. Session restore is skipped when opening a specific file; use `--no-session` to start fresh.
307
+
308
+ * **Unified Search & Replace**: Replace (Ctrl+H) and Query Replace (Ctrl+Shift+H) now share the same interface with a "Confirm each" toggle (Alt+E). Query Replace enables confirmation by default; Replace uses the toggle state. Confirmation prompt shows `(y)es (n)o (a)ll (c)ancel` options.
309
+
310
+ ### Bug Fixes
311
+
312
+ * **Session Restore Reliability**: Fixed session rehydration to reopen files/splits with the correct active buffer, cursor, and scroll position (including nested splits) instead of jumping back to the top on first render.
313
+
314
+ * **macOS Build**: Fixed Linux-specific `.init_array` by using cross-platform V8 initialization.
315
+
316
+ * **Syntax Highlighting**: Fixed invisible/hard-to-read highlighting in light and nostalgia themes by using theme-based color resolution instead of hardcoded colors.
317
+
318
+ * **Theme Colors**: Improved status bar and prompt colors across all themes (dark, high-contrast, light, nostalgia).
319
+
320
+ * **Search Prompt**: Search/replace prompts now cancel when focus leaves the editor (switching buffers or focusing file explorer).
321
+
322
+ ---
323
+
324
+ ## 0.1.9
325
+
326
+ ### Features
327
+
328
+ * **Native File Browser**: New built-in file browser for Open File command (Ctrl+O) that works without plugins. Features sortable columns (name, size, modified), navigation shortcuts (parent, home, root), filtering with grayed non-matches, mouse support with hover indicators, and async directory loading.
329
+
330
+ * **CRLF Line Ending Support**: Transparent handling of Windows-style line endings. Files are detected and normalized internally, then saved with their original line ending format preserved.
331
+
332
+ * **CLI Enhancements**: Added `--version`, `--no-plugins` (skip JS runtime for faster startup), `--log-file`, and `--config` flags.
333
+
334
+ * **UI Improvements**:
335
+ - Tab hover effects with close button changing to red on hover
336
+ - Menu hover-to-switch when a menu is open
337
+ - Buffer name shown in modified buffer confirmation prompts
338
+ - Fixed column widths in command palette for stable layout
339
+
340
+ ### Bug Fixes
341
+
342
+ * **V8 Segfault**: Fixed crash when creating multiple Editor instances (e.g., in tests) by initializing V8 platform once at library load.
343
+
344
+ * **Windows**: Fixed duplicate key presses caused by processing both Press and Release events.
345
+
346
+ ---
347
+
348
+ ## 0.1.8
349
+
350
+ ### Bug Fixes
351
+
352
+ * **Open File Prompt**: Fixed completions not showing immediately (issue #193) by enabling ICU support for Unicode functions.
353
+
354
+ * **Keyboard Shortcuts Help**: Fixed crash when reopening keyboard shortcuts buffer (issue #192).
355
+
356
+ * **Undo Save Points**: Fixed extra undo step at beginning of save history (issue #191).
357
+
358
+ * **Scroll Keybindings**: Fixed Ctrl+Up/Down scroll not working by syncing viewport between SplitViewState and EditorState.
359
+
360
+ ---
361
+
362
+ ## 0.1.7
363
+
364
+ ### Features
365
+
366
+ * **Select Theme Command**: New theme picker accessible from the command palette and View menu. Includes a new "nostalgia" theme inspired by Turbo Pascal 5 / WordPerfect 5.
367
+
368
+ * **Compose Mode Improvements**: Paper-on-desk visual effect with desk margin colors, and hanging indent support for markdown lists and blockquotes.
369
+
370
+ * **Binary File Detection**: Binary files are now detected and opened in read-only mode to prevent accidental corruption.
371
+
372
+ ### Bug Fixes
373
+
374
+ * **Light Theme**: Fixed colors for status bar, prompt, scrollbar, tabs, and file explorer to use proper light theme colors.
375
+
376
+ * **Mouse Performance**: Fixed slow mouse movement on large terminals by skipping redundant renders when hover target hasn't changed. Added mouse event coalescing to skip stale positions.
377
+
378
+ * **UTF-8 Truncation**: Fixed panic when truncating suggestion descriptions mid-character.
379
+
380
+ ### Internal Changes
381
+
382
+ * **Code Refactoring**: Major cleanup extracting helpers and reducing duplication across many modules including `process_async_messages`, `handle_plugin_command`, `render_view_lines`, `multi_cursor`, `highlight_color`, and more. Consolidated duplicate `hook_args_to_json` implementations.
383
+
384
+ * **Test Improvements**: Fixed flaky tests by removing timing assertions, made shortcut tests platform-aware for macOS.
385
+
386
+ * **Documentation**: Reorganized internal planning docs, updated plugin README from Lua to TypeScript, and added embedded help manual using `include_str!()`.
package/README.md CHANGED
@@ -14,9 +14,9 @@ Fresh is designed for discovery. It features native UIs, a full Menu system, and
14
14
 
15
15
  Extend Fresh easily using modern tools. Plugins are written in TypeScript and run securely in a sandboxed Deno environment, providing access to a modern JavaScript ecosystem without compromising stability.
16
16
 
17
- ## Zero-Latency Performance
17
+ ## Low-Latency Performance
18
18
 
19
- Fresh is engineered for speed. It delivers a near zero-latency experience, with text appearing instantly. The editor is designed to be light and fast, reliably opening and editing huge files up to multi-gigabyte sizes without slowdown.
19
+ Fresh is engineered for speed. It delivers a low-latency experience, with text appearing instantly. The editor is designed to be light and fast, reliably opening and editing [huge files up to multi-gigabyte sizes](https://noamlewis.com/blog/2025/12/09/how-fresh-loads-huge-files-fast) without slowdown.
20
20
 
21
21
  ## Comprehensive Feature Set
22
22
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "GPL-2.0",
25
25
  "name": "@fresh-editor/fresh-editor",
26
- "version": "0.1.24"
26
+ "version": "0.1.27"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -896,5 +896,5 @@
896
896
  }
897
897
  },
898
898
  "requires": true,
899
- "version": "0.1.24"
899
+ "version": "0.1.27"
900
900
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/sinelaw/fresh/releases/download/v0.1.24",
2
+ "artifactDownloadUrl": "https://github.com/sinelaw/fresh/releases/download/v0.1.27",
3
3
  "author": "Noam Lewis",
4
4
  "bin": {
5
5
  "fresh": "run-fresh.js"
@@ -93,7 +93,7 @@
93
93
  "zipExt": ".tar.xz"
94
94
  }
95
95
  },
96
- "version": "0.1.24",
96
+ "version": "0.1.27",
97
97
  "volta": {
98
98
  "node": "18.14.1",
99
99
  "npm": "9.5.0"
@@ -265,8 +265,8 @@ globalThis.onBufferModifiedBufferClosed = function (args: {
265
265
  editor.on("after_file_open", "onBufferModifiedAfterFileOpen");
266
266
  editor.on("buffer_activated", "onBufferModifiedBufferActivated");
267
267
  editor.on("after_file_save", "onBufferModifiedAfterSave");
268
- editor.on("after-insert", "onBufferModifiedAfterInsert");
269
- editor.on("after-delete", "onBufferModifiedAfterDelete");
268
+ editor.on("after_insert", "onBufferModifiedAfterInsert");
269
+ editor.on("after_delete", "onBufferModifiedAfterDelete");
270
270
  editor.on("buffer_closed", "onBufferModifiedBufferClosed");
271
271
 
272
272
  // Initialize for the current buffer
@@ -243,8 +243,8 @@ globalThis.onColorBufferClosed = function(data: { buffer_id: number }): void {
243
243
  // Register hooks
244
244
  editor.on("render_start", "onColorRenderStart");
245
245
  editor.on("lines_changed", "onColorLinesChanged");
246
- editor.on("after-insert", "onColorAfterInsert");
247
- editor.on("after-delete", "onColorAfterDelete");
246
+ editor.on("after_insert", "onColorAfterInsert");
247
+ editor.on("after_delete", "onColorAfterDelete");
248
248
  editor.on("buffer_closed", "onColorBufferClosed");
249
249
 
250
250
  // Plugin commands
@@ -10,6 +10,10 @@
10
10
  "type": "string",
11
11
  "description": "Active keybinding map name (e.g., \"default\", \"emacs\", \"vscode\", or a custom name)"
12
12
  },
13
+ "check_for_updates": {
14
+ "type": "boolean",
15
+ "description": "Check for new versions on quit (default: true)"
16
+ },
13
17
  "editor": {
14
18
  "$ref": "#/$defs/EditorConfig",
15
19
  "description": "Editor behavior settings (indentation, line numbers, wrapping, etc.)"
@@ -76,6 +80,10 @@
76
80
  "type": "integer",
77
81
  "description": "Estimated average line length in bytes (used for large file line estimation)\nThis is used by LineIterator to estimate line positions in large files\nwithout line metadata. Typical values: 80-120 bytes."
78
82
  },
83
+ "highlight_context_bytes": {
84
+ "type": "integer",
85
+ "description": "Number of bytes to look back/forward from the viewport for syntax highlighting context.\nLarger values improve accuracy for multi-line constructs (strings, comments, nested blocks)\nbut may slow down highlighting for very large files.\nDefault: 10KB (10000 bytes)"
86
+ },
79
87
  "highlight_timeout_ms": {
80
88
  "type": "integer",
81
89
  "description": "Maximum time in milliseconds for syntax highlighting per frame"
@@ -92,6 +100,14 @@
92
100
  "type": "boolean",
93
101
  "description": "Wrap long lines to fit the window width"
94
102
  },
103
+ "mouse_hover_delay_ms": {
104
+ "type": "integer",
105
+ "description": "Delay in milliseconds before a mouse hover triggers an LSP hover request.\nLower values show hover info faster but may cause more LSP server load.\nDefault: 500ms"
106
+ },
107
+ "mouse_hover_enabled": {
108
+ "type": "boolean",
109
+ "description": "Whether mouse hover triggers LSP hover requests.\nWhen enabled, hovering over code with the mouse will show documentation.\nDefault: true"
110
+ },
95
111
  "recovery_enabled": {
96
112
  "type": "boolean",
97
113
  "description": "Whether to enable file recovery (Emacs-style auto-save)\nWhen enabled, buffers are periodically saved to recovery files\nso they can be recovered if the editor crashes."
@@ -322,6 +338,15 @@
322
338
  "type": "boolean",
323
339
  "description": "Whether the server is enabled"
324
340
  },
341
+ "initialization_options": {
342
+ "anyOf": [
343
+ {},
344
+ {
345
+ "type": "null"
346
+ }
347
+ ],
348
+ "description": "Initialization options sent during LSP initialize request.\nSome language servers (like Deno) require specific options here.\nFor example, Deno requires `{\"enable\": true}` to enable completions."
349
+ },
325
350
  "process_limits": {
326
351
  "$ref": "#/$defs/ProcessLimits",
327
352
  "description": "Process resource limits (memory and CPU)"