Commit Graph
72 Commits
Author SHA1 Message Date
Isaac Clayton 172e276411 Fix warnings and propogate async further 2022-07-07 15:42:48 +02:00
Isaac Clayton ce90dbd06a Temporarily comment out closure errors to address other errors in project 2022-07-07 15:41:34 +02:00
Isaac Clayton f4b4212932 More work on transitioning to async, need to figure out when to stop 2022-07-07 15:38:28 +02:00
Isaac Clayton 61f5326033 Add timing instrumentation 2022-07-07 15:32:43 +02:00
Isaac Clayton 841a9bd2a7 Make into async trait, will refactor everything Monday 2022-07-07 15:25:49 +02:00
Isaac Clayton 568017da85 Annotate that the bug is due to a deadlock, fixing now 2022-07-07 15:23:27 +02:00
Isaac Clayton 37e04320aa Checkpoint 2022-07-07 15:23:27 +02:00
Isaac Clayton e5481e2e65 Switch from std::process::Command to smol::process::Command 2022-07-07 15:22:17 +02:00
Isaac Clayton 42fc278913 Comment out label_for_completion for now 2022-07-07 15:22:17 +02:00
Isaac Clayton a5a0abb895 Update usage of WasiPlugin -> Plugin 2022-07-07 15:22:17 +02:00
Isaac Clayton 5b40734f80 Change ABI from pair of u32s to single u64 2022-07-07 15:22:17 +02:00
Isaac Clayton 1f5903d16d Add allocator to store so that it can be used by host functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 7266dff537 Fix issue with host function binding 2022-07-07 15:22:17 +02:00
Isaac Clayton 53e56f1284 Start working on host-side functions 2022-07-07 15:22:17 +02:00
Isaac Clayton 71e0555763 Add JSON LSP plugin 2022-07-07 15:22:16 +02:00
Isaac Clayton 923f093aca First pass of plugin side of things complete 2022-07-07 15:20:27 +02:00
Isaac Clayton d7b97b25b8 Async runtime working but is blocking 2022-07-07 15:20:27 +02:00
Isaac Clayton 8bce35d1e9 Move Wasi to async, validate timeslicing, using async in traits still WIP 2022-07-07 15:20:27 +02:00
Isaac Clayton e9b87f3dc3 Factor out buffer code 2022-07-07 15:20:27 +02:00
Isaac Clayton fbaff615a3 Get JSON LSP running, still work to be done 2022-07-07 15:20:27 +02:00
Isaac Clayton 38d7321511 Remove non-WASI code 2022-07-07 15:20:25 +02:00
Isaac Clayton 17d15b2f08 Get Wasi working 2022-07-07 15:19:02 +02:00
Isaac Clayton b84948711c Start moving code from Zed to plugin 2022-07-07 15:17:02 +02:00
Isaac Clayton 7dd3114a7a Start switching JSON LSP adapter to plugin (take 2) 2022-07-07 15:16:59 +02:00
Max Brunsfeld fae1cc36d6 In most languages, use prev non-empty line as basis for preserving indent 2022-06-28 12:21:54 -07:00
Antonio Scandurra 6cf9514e00 Merge pull request #1246 from zed-industries/python-autoindent
Fix Python auto-indent using new auto-indent features
2022-06-28 10:14:22 +02:00
Max Brunsfeld 929615964d Add new indentation features to support Python 2022-06-27 22:34:14 -07:00
Keith Simmons a477733bcb Address hover panic and add hint to install go when language server failed to install 2022-06-27 15:48:15 -07:00
Max Brunsfeld dc056fc46f Treat .pyi files as Python 2022-06-23 11:14:11 -07:00
Max Brunsfeld 4d4db6ec4b Syntax-highlight Python project symbols and completions 2022-06-23 11:14:01 -07:00
Max Brunsfeld 11f73bfa4e Integrate pyright language server 2022-06-22 16:58:19 -07:00
Max Brunsfeld c0dbd8f9b9 Add python outline and bracket queries 2022-06-22 16:28:09 -07:00
Max Brunsfeld 074caa09c2 Make python indent query more general
Upgrade Tree-sitter for a query bugfix that I found while
writing this indent query.
2022-06-22 16:18:52 -07:00
Max Brunsfeld 34351c0a51 Start work on Python support 2022-06-21 17:04:54 -07:00
Antonio Scandurra 0e20782b53 Highlight files ending in mdx as Markdown
This is clearly a stopgap solution but it'll make our life easier
while hacking on zed.dev.
2022-06-20 15:53:45 +02:00
Antonio Scandurra d425d9fa64 Allow wrapping selected text with ' in Rust 2022-06-20 11:56:46 +02:00
Antonio Scandurra 6040429f93 Auto-close ' for TypeScript and don't do so for Rust 2022-06-20 11:55:40 +02:00
Antonio Scandurra d6c630f8eb Add missing auto-close brackets from various languages 2022-06-20 11:38:12 +02:00
Antonio Scandurra 4e4210ac39 Open a buffer for every language server error when clicking on status 2022-06-16 10:00:29 +02:00
Max Brunsfeld 924e9648e9 Tweak golang outline query 2022-06-09 13:31:30 -07:00
Max Brunsfeld 9495717421 Add project symbol labels for Go 2022-06-09 13:16:08 -07:00
Max Brunsfeld 861f4c7230 Add syntax highlighting for Go completions 2022-06-09 13:08:18 -07:00
Max BrunsfeldandAntonio Scandurra 129fc515ef Add parser and queries for go
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2022-06-08 10:44:13 -07:00
Max BrunsfeldandAntonio Scandurra a41f164ffe Launch gopls with the right arguments
Co-authored-by: Antonio Scandurra <me@as-cii.com>
2022-06-08 10:25:58 -07:00
Max Brunsfeld 8f4387a252 Start work on installing gopls 2022-06-07 18:38:37 -07:00
Max Brunsfeld 209ff619ef Simplify interface of latest_github_release helper function 2022-06-07 16:26:01 -07:00
Antonio ScandurraandMax Brunsfeld 55fc2341d8 Consolidate C and C++ LSP adapters
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-06-03 18:05:43 +02:00
Antonio ScandurraandMax Brunsfeld 1db4970c5a Implement CppLspAdapter::name by delegating to CLspAdapter::name
This makes it more evident that both languages share the same language
server.

Co-Authored-By: Max Brunsfeld <max@zed.dev>
2022-06-03 17:49:31 +02:00
Antonio Scandurra 416496225e Syntax-highlight project-wide symbols for C++ 2022-06-03 11:47:56 +02:00
Antonio Scandurra c6e6a9f1eb Show prettier completions for C++ 2022-06-03 11:33:03 +02:00