9eb6dd3be4
fix: send sigterm to languages servers on exit
...
Not all language servers willingly exit if we just close stdin. Eventually
we will follow the protocol's shutdown process, but for now we just send a
sigterm.
2024-04-15 21:15:26 +02:00
49d6ee94fc
refactor: simplify and clean-up navgate command
...
This should also prevent get_mru_position and location_jump from stomping
on each other.
2024-04-15 19:50:11 +02:00
0f5f41751e
feat: add fuzzy matching to recent files list with fuzzig
...
Many thanks to @fjebaker
2024-04-15 18:59:23 +02:00
5375e1449e
feat: send didChange, didSave and didClose events to language server
2024-04-13 02:50:02 +02:00
1288021682
feat: save and restore file MRU state per project
2024-04-11 18:36:54 +02:00
9caf1d8947
fix: build on macos
2024-04-10 18:36:51 +02:00
cbe656fe44
fix: use 1 based offsets in get_mru_position
2024-04-09 21:51:17 +02:00
31561242db
feat: update mru list when navigating and store last file position
2024-04-09 21:44:40 +02:00
e236f3f3c6
feat: highlight targetSelectionRange if privided in textDocument/definition response
2024-04-09 18:10:12 +02:00
fc15c8bda6
feat: first (mostly) working version of goto_definition command
...
Tested only with zls and clangd so far.
2024-04-05 22:55:23 +02:00
98104658b4
feat: lots more work on LSP support (WIP)
...
First valid response from clangd.
2024-04-04 21:54:14 +02:00
1406052c06
feat: lots more work on LSP support (still WIP)
2024-04-02 23:07:27 +02:00
2e8fd58ba5
feat: WIP start work on goto_definition LSP command
2024-03-31 22:41:20 +02:00