1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-22 02:55:39 +03:00
Commit Graph

517 Commits

Author SHA1 Message Date
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
oxalica
09bcbd1ddd Ignore root node itself as flake inputs
This is not perfect but we don't support out-of-store flake inputs yet.

Fixes #71
2023-03-11 09:01:10 +08:00
oxalica
bbca41c5ee Apply clippy::uninlined_format_args 2023-03-10 16:10:09 +08:00
oxalica
4ec9367726 Apply clippy::manual-let-else 2023-03-10 16:10:09 +08:00
oxalica
4a9f128200 Apply clippy::{doc_markdown,missing-panics-doc} 2023-03-10 16:10:02 +08:00
oxalica
1eab5d2ea5 Fix dead links 2023-03-10 13:49:58 +08:00
oxalica
a84b006bb1 Update dependencies 2023-03-10 13:48:57 +08:00
figsoda
d101741884
Implement type inference for rest attributes (#68) 2023-03-09 06:17:13 +08:00