1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-29 16:12:12 +03:00
Commit Graph

51 Commits

Author SHA1 Message Date
oxalica
87d007b2ab Track referrers of modules 2023-02-17 21:21:51 +08:00
oxalica
ea8ee40bd1 Sweep unused dependencies 2023-02-14 23:54:14 +08:00
oxalica
124b1fd287 Bump lsp_types to 0.94.0 2023-02-11 03:11:19 +08:00
oxalica
727a73722f Special case for hover of builtins.xxx
Fixes #15
2023-02-04 06:59:39 +08:00
oxalica
893e5cf204 Type builtins and fix typos in ty! 2023-02-04 05:28:05 +08:00
oxalica
6b2eb7b9eb Update la-arena and add capacity hints 2023-02-03 03:45:17 +08:00
oxalica
dfd91e3b7e CLI for diagnostics 2023-01-28 23:52:26 +08:00
oxalica
f1c2dbc857 Use argh and simplify version embedding 2023-01-28 22:29:26 +08:00
oxalica
7844f61b75 Introduce ModuleKind to parse known file layouts 2023-01-28 01:37:24 +08:00
oxalica
c1352ac4b1 Impl goto-definition for flake inputs 2023-01-28 01:37:24 +08:00
oxalica
0eb313e73b Impl flake lock parser and wrapper of 'nix eval' 2023-01-27 03:36:20 +08:00
oxalica
9aa5ed132f Extract constants from Nix to a new crate 2023-01-27 03:36:20 +08:00
oxalica
29fdd1fba9 Use anyhow in the LSP server 2023-01-24 22:42:36 +08:00
oxalica
d9e0468ded Update dependencies 2023-01-19 14:40:02 +08:00
oxalica
3ba40c0d16 Update dependencies 2022-12-30 19:29:38 +08:00
oxalica
1c122ae707 Update dependencies 2022-12-09 22:21:59 +08:00
oxalica
7cd1e078fe Update dependencies 2022-12-01 09:01:36 +08:00
oxalica
eb7c84c429 Remove rowan dependency from crates except syntax 2022-11-26 17:58:00 +08:00
oxalica
9794a2eb97 Impl assist to flatten Attrset in bindings 2022-11-25 01:23:33 +08:00
oxalica
dc211dce86 Update dependencies 2022-11-23 20:06:27 +08:00
oxalica
d0a5ea4364 Fix PID waiter impl 2022-11-10 16:31:59 +08:00
oxalica
93f15d882f Impl document links 2022-11-10 03:31:23 +08:00
oxalica
09ad62cd7c Update dependencies 2022-11-07 13:26:35 +08:00
oxalica
8e4b0d6764 Initial impl for type inference 2022-11-07 09:14:10 +08:00
oxalica
c064894105 Monitor client process's liveness on Linux
Some client use UNIX domain sockets for communitation. But they are not
automatically closed when the client exits abnormally, resulting leaked
server instances.
2022-10-22 14:24:51 +08:00
oxalica
c3ab7f69af Update dependencies 2022-10-22 01:07:02 +08:00
oxalica
4216d2a60d Update dependencies 2022-10-04 02:11:25 +08:00
oxalica
31b714f3da Use absolute VfsPath and remove file preloading
We currently don't enable any workspace features.
Reading file on demand can be more robust and memory efficient.

Fixes #21
2022-09-28 17:56:20 +08:00
oxalica
cf182a8ca4 Generate builtins from Nix 2022-09-22 18:26:56 +08:00
oxalica
15cd08d0d0 Shrink and update dependencies 2022-09-19 09:28:17 +08:00
oxalica
dd476b39e7 Proper error handling for LSP 2022-09-06 04:41:42 +08:00
oxalica
5bdf49686c Refactor workspace layout 2022-09-06 01:54:33 +08:00
oxalica
efb87783e6 Replace env_logger with tracing and impl log file 2022-09-06 01:26:22 +08:00
oxalica
4ff0bfb7de Update deps 2022-08-20 02:42:26 +08:00
oxalica
a28eae65a8 Respect gitignore and fix root-dir detection of nvim 2022-08-12 20:11:33 +08:00
oxalica
4c41f9140c Impl and unify tests using fixture 2022-08-10 19:24:45 +08:00
oxalica
d80888be7f Populate source roots during initialization 2022-08-10 02:49:31 +08:00
oxalica
11a690bb73 Enhance completion 2022-08-09 07:25:57 +08:00
oxalica
a8f8e72856 Log properly 2022-08-01 05:08:23 +08:00
oxalica
7e36f8a81b Handle builtin names 2022-08-01 04:26:13 +08:00
oxalica
73d71845f6 Update rowan and tweak tests 2022-07-31 02:49:48 +08:00
oxalica
0b643ddc0d Impl Attrset lowering with desugaring 2022-07-31 02:01:23 +08:00
oxalica
99eff707b6 Impl basic LSP server supporting goto-definition 2022-07-25 23:03:05 +08:00
oxalica
431b3255ef Impl all literals lowering 2022-07-24 07:02:45 +08:00
oxalica
d0132c886c Switch to use our custom parser 2022-07-24 05:14:11 +08:00
oxalica
f48a103ee6 Impl nix parser with rowan 2022-07-23 05:14:54 +08:00
oxalica
d9f4108b3a Introduce Name 2022-07-21 21:19:16 +08:00
oxalica
695c54de0c Impl source mapping 2022-07-20 00:59:37 +08:00
oxalica
168a02bbaa Make RootDatabase parallel and tweak 2022-07-20 00:16:53 +08:00
oxalica
fdca59f98a Impl incremental analysis framework 2022-07-20 00:14:22 +08:00