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
b5797b481a Fix unexpected remove from local_file_set 2023-03-09 04:08:45 +08:00
Hexadecimal
9312828faa Rephrase README.md and configuration.md 2023-03-08 22:25:31 +08:00
figsoda
267e2b4d73 Briefly document _ attributes 2023-03-08 22:18:41 +08:00
figsoda
4e31fede0a Correct and extend types for nixosConfigurations 2023-03-08 22:18:41 +08:00
figsoda
59ffbac047 Consider system attributes when typing flake outputs 2023-03-08 22:18:41 +08:00
oxalica
68522526c9 Update cachix/install-nix-action in CI 2023-03-08 00:20:18 +08:00
oxalica
612bbe972a Tweak CI and fix MSRV test 2023-03-07 23:06:31 +08:00
oxalica
fc91c3f6d6 Rename confusing SyntaxKind::is_* 2023-03-07 03:30:52 +08:00
Moritz Böhme
bb9a748cce Add remove_empty_let_in assist 2023-03-05 06:19:17 +08:00
oxalica
0f918f956f Warn unused parameters in flake outputs lambda 2023-03-04 02:30:16 +08:00
oxalica
f40199bea2 Warn unused pat parameters for modules and packages 2023-03-04 02:25:42 +08:00
oxalica
dace5df783 Guess ModuleKind for packages and NixOS modules 2023-03-04 01:37:10 +08:00
oxalica
ba70fc01fd Split out ModuleKind guessing 2023-03-03 22:00:24 +08:00
oxalica
3487ed42be Update dependencies 2023-03-02 06:23:12 +08:00
Xavier Lambein
6723d2982d Fix broken link in docs/features.md 2023-02-27 02:28:31 +08:00
oxalica
4825639eba Fix default value in coc-nil 2023-02-26 08:52:46 +08:00
oxalica
62e7eac98e Fix CI again 2023-02-26 08:40:46 +08:00
oxalica
1d223b505d Fix CI 2023-02-26 08:28:32 +08:00
oxalica
85ebdb39bf Add editorconfig 2023-02-26 08:16:46 +08:00
oxalica
128a699e5f Init coc.nvim extension 2023-02-26 07:18:14 +08:00
oxalica
d4e6677846 Export file referrer query as experimental/parentModule
See: https://github.com/microsoft/language-server-protocol/issues/1002
2023-02-18 06:12:56 +08:00
oxalica
87d007b2ab Track referrers of modules 2023-02-17 21:21:51 +08:00
oxalica
944d5c3355 Remove nix from the default devShell 2023-02-14 23:54:14 +08:00
oxalica
ea8ee40bd1 Sweep unused dependencies 2023-02-14 23:54:14 +08:00
oxalica
d62d4a4dd4 Improve query cache efficiency 2023-02-14 23:54:14 +08:00
oxalica
4dd931f460 Enforce clippy::semicolon_if_nothing_returned 2023-02-14 23:54:14 +08:00
oxalica
f5f359d81c Store index of from-expression in InheritFrom
This could hopefully reduces deduplication cost when traversing `Expr`s.
2023-02-14 23:54:14 +08:00
Eric Crosson
f65284b999
Fix typo (#57) 2023-02-13 23:31:24 +08:00
oxalica
ce2e0b5d60 Hoist common cargo settings and use resolver 2 2023-02-11 18:17:58 +08:00
oxalica
a304ab352b Track builtins via AttrSource to show completion docs for builtins.|
See also #15
2023-02-11 04:59:07 +08:00
oxalica
a8c76d2eed Rework Ty formatter and show signatures in completions 2023-02-11 04:30:00 +08:00
oxalica
124b1fd287 Bump lsp_types to 0.94.0 2023-02-11 03:11:19 +08:00
oxalica
f0dd52697c Forbid easy ? in notification handlers
This would abort the server immediately currently (as in #58).
We should gracefully handle these errors instead. Possibly by ignoring
them and clean the states.
2023-02-10 09:34:22 +08:00
oxalica
5179eb45dc Refactor Vfs error handling 2023-02-10 09:34:22 +08:00
oxalica
4dfaf037da Support virtual path URIs (untitled:.*)
Fixes #58
2023-02-10 09:34:22 +08:00
oxalica
5086508235 Use PathBuf in VfsPath to simplify 2023-02-10 09:34:22 +08:00
oxalica
d066d67ad2 Forbid todo! 2023-02-10 04:39:11 +08:00
oxalica
015ecacf43 Rework follows resolution of flake lock
Fixes #56
2023-02-09 01:47:01 +08:00
oxalica
1a15174958 Always set default flake_grpah
Fixes panics in #56
2023-02-04 08:51:12 +08:00
oxalica
bbb71a6c13 Highlight indirect builtins 2023-02-04 08:38:09 +08:00
oxalica
bb632c4219 Recognize builtins from inherit (builtins) 2023-02-04 08:01:01 +08:00
oxalica
727a73722f Special case for hover of builtins.xxx
Fixes #15
2023-02-04 06:59:39 +08:00
oxalica
7ad13dd6fa Tweak hover message and show types of builtins 2023-02-04 06:38:39 +08:00
oxalica
893e5cf204 Type builtins and fix typos in ty! 2023-02-04 05:28:05 +08:00
oxalica
3de72eefd8 Print backtrace and log when panicking 2023-02-03 20:27:35 +08:00
oxalica
232e16ddf0 Support TextDocumentContentChangeEvent with no range
Fixes #53
2023-02-03 20:26:51 +08:00
oxalica
d916585048 Snapshot LineMap during diagnostic calculation
This assumes diagnostics can only reference the local file, which
currently true.
2023-02-03 20:25:34 +08:00
oxalica
b3d65b8bd7 Update docs 2023-02-03 19:07:17 +08:00
oxalica
74cdacae41 Update flake 2023-02-03 18:04:47 +08:00
oxalica
64da72685d Complete in pat-parameter definitions 2023-02-03 17:58:14 +08:00