Commit graph

374 commits

Author SHA1 Message Date
oxalica
385baaf2ca Update flake 2023-04-22 06:11:59 +08:00
oxalica
bca539e4b9 Do not evaluate non-flake inputs 2023-04-22 05:53:39 +08:00
oxalica
1482f7b706 Show progress for coc.nvim and nvim-lsp 2023-04-22 05:52:05 +08:00
oxalica
a3c3edbab8 Report evaluation progress 2023-04-22 05:38:31 +08:00
oxalica
0a19360b6a Guard --legacy for nix flake show with nix version 2023-04-22 03:58:36 +08:00
oxalica
9c49c47826 Do not evaluate legacyPackages by default 2023-04-22 02:01:56 +08:00
oxalica
7d020d4698 Inject outputs of input flakes 2023-04-22 01:56:50 +08:00
oxalica
7218a6b7ca Add input flake types to database inputs 2023-04-22 01:40:00 +08:00
oxalica
3c6629acd0 Rename ide::ty::options -> ide::ty::convert 2023-04-21 03:10:22 +08:00
oxalica
4cbcf29917
Async LSP #74 2023-04-21 00:01:29 +08:00
oxalica
b359f4ff24 Use async-lsp from git 2023-04-20 23:34:09 +08:00
oxalica
c69e0fb5fc Defeated by regex
Fixes #75
2023-04-20 02:07:41 +08:00
oxalica
4f10256e0e Asyncify nix-interop 2023-04-19 02:12:50 +08:00
oxalica
b7bc2636c1 Bump async-lsp and revert "Only enable ClientProcessMonitorLayer for Linux"
This reverts commit 263b82c6d2.
2023-04-19 01:57:08 +08:00
oxalica
263b82c6d2 Only enable ClientProcessMonitorLayer for Linux 2023-04-18 03:36:50 +08:00
oxalica
a22c8d85a4 Warn when non-pipe-like stdin/stdout is used 2023-04-18 03:14:51 +08:00
oxalica
c86e96c003 Use async-lsp from crates.io to fix nix build 2023-04-18 02:55:54 +08:00
oxalica
51da89f1ec Report progress when archiving flake 2023-04-17 11:34:58 +08:00
oxalica
66dc5e7d94 Guard show_message_request with client capabilities 2023-04-17 11:34:58 +08:00
oxalica
5c55e4c6b4 Archive flake when needed 2023-04-17 11:22:21 +08:00
oxalica
ea66982de7 Refactor diagnostics updating 2023-04-17 11:22:21 +08:00
oxalica
0ff186cc42 Refactor config updating event 2023-04-17 11:22:21 +08:00
oxalica
578e2c28d3 Asyncify flake workspace loading task 2023-04-17 11:22:21 +08:00
oxalica
0edd88a682 Switch to async-lsp framework 2023-04-17 11:21:52 +08:00
oxalica
1d5bc81023 Fix typo 2023-04-14 03:06:42 +08:00
oxalica
df541a798d Suppress unused warnings for flake auto-inputs
Fixes #73
2023-04-14 03:04:26 +08:00
oxalica
a55f287f24 Make tests platform-agnostic 2023-04-14 02:36:12 +08:00
oxalica
9995235134 Update dependencies 2023-04-14 02:12:57 +08:00
oxalica
33fbe2e1f8 Add CI step name for cargo-outdated 2023-04-14 02:06:05 +08:00
oxalica
56a1fa87b9 Update flake 2023-04-04 01:51:06 +08:00
oxalica
8ae5017ccb Check NixOS option completion in the feature list 2023-04-04 01:38:11 +08:00
oxalica
7f88b40b3a Update dependencies 2023-04-04 01:02:40 +08:00
oxalica
0718fca59b Parse rec attrsets in flake.nix 2023-03-30 22:04:10 +08:00
oxalica
f3eaa77002 Escape invalid identifiers in completions 2023-03-29 16:24:15 +08:00
oxalica
932803b1de Fix panics when flake inputs contain self 2023-03-28 21:44:43 +08:00
oxalica
775ba9e6ac Parse flake outputs and add flake package meta 2023-03-27 00:10:43 +08:00
oxalica
73fda84341 Warn when running language server in terminal 2023-03-24 14:18:35 +08:00
oxalica
431d4540de Split out LSP initialization and return serverInfo 2023-03-24 13:51:26 +08:00
oxalica
6d01eb0ad1 Use poll(2) instead of select(2) 2023-03-24 13:37:09 +08:00
oxalica
48009b60fa Refactor LSP main loop 2023-03-24 13:16:45 +08:00
oxalica
e8e338d59b Check outdated packages 2023-03-18 15:40:32 +08:00
oxalica
e7045f1779 Set NIX_PATH in CI 2023-03-14 01:33:49 +08:00
oxalica
8463c135ad Translate and inject option types from Nix 2023-03-14 01:14:22 +08:00
oxalica
5b99f7aab5 Inject NixOS options 2023-03-13 22:46:45 +08:00
oxalica
9a043a5039 Add NixOS configuration type database input 2023-03-13 17:47:56 +08:00
oxalica
fe38ceaae6 Move string escaping to syntax::semantic and fix 2023-03-13 13:39:44 +08:00
oxalica
2552c08e39 Fix parsing of ' in indented strings 2023-03-11 23:13:46 +08:00
figsoda
e5fcdc168c
Add string rewriting assists (#69) 2023-03-11 23:05:19 +08:00
oxalica
457f6020be Impl subcommand parse 2023-03-11 22:51:43 +08:00
oxalica
7b0b15021e Extract error reporting from diagnostics subcommand 2023-03-11 22:50:28 +08:00