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

264 Commits

Author SHA1 Message Date
oxalica
54a5c84cb8 Remove double indirections of Ty::Attrset 2023-02-03 03:09:24 +08:00
oxalica
d044c9c5b4 Inject type schema for flake.nix
Closes #54
2023-02-03 03:09:24 +08:00
oxalica
c003625948 Impl external expected types for type inference 2023-02-03 02:18:31 +08:00
oxalica
e0707ad935 Split result Ty type from Ty in inference context 2023-02-03 00:55:08 +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
2082551a99 Configurable path to nix binary 2023-01-28 04:32:41 +08:00
oxalica
e797666505 Extract error handling of send_request and simplify 2023-01-28 04:24:07 +08:00
oxalica
7844f61b75 Introduce ModuleKind to parse known file layouts 2023-01-28 01:37:24 +08:00
oxalica
27abf4d61d Warn users about unavailable flake inputs 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
1c14e1383a Add flake structure as database input 2023-01-27 16:16:48 +08:00
oxalica
6e55610257 Load locked flake inputs 2023-01-27 03:54:11 +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
6e5321582c Tweak VfsPath conversion interfaces 2023-01-24 23:13:56 +08:00
oxalica
29fdd1fba9 Use anyhow in the LSP server 2023-01-24 22:42:36 +08:00
oxalica
3f84b783d3 Exclude gdb for unsupported platforms 2023-01-19 15:35:03 +08:00
oxalica
d9e0468ded Update dependencies 2023-01-19 14:40:02 +08:00
oxalica
07543e5de8 Update rust toolchain to 1.66 2023-01-19 14:40:02 +08:00
oxalica
0eff7fc333 Impl convert_to_inherit for rec bindings 2023-01-02 22:12:02 +08:00
oxalica
cf10fad204 Improve backtrace in tests 2023-01-02 22:10:08 +08:00
oxalica
893ae1f63f Use pre-commit from Nix shell for CI style check 2023-01-01 05:48:55 +08:00
oxalica
4f8b44dea0 Fix fmt 2023-01-01 05:16:16 +08:00
oxalica
2e688f98a4 Fix clippy warnings 2022-12-30 19:29:38 +08:00
oxalica
3ba40c0d16 Update dependencies 2022-12-30 19:29:38 +08:00
oxalica
3dac2ebee8 Add special style for withAttribute in tests 2022-12-30 19:29:38 +08:00
oxalica
b65a0c7655 Use modifier withAttribute for identifiers from with
This allows editors to add special emphasis style like underlines to
them.
2022-12-30 19:29:38 +08:00
Sibi Prabakaran
cac705a233
Add emacs lsp-mode documentation and fix typo (#47) 2022-12-25 05:09:04 +08:00
will-ca
6aa1e29457
Add Kate editor example (#46)
Co-authored-by: oxalica <oxalicc@pm.me>
2022-12-25 05:05:06 +08:00
oxalica
1c122ae707 Update dependencies 2022-12-09 22:21:59 +08:00
oxalica
0fb9e13883 Add constant and builtin for semantic tokens
The `defaultLibrary` doesn't quite fit builtins, since the former also
include standard library and are not considered "language essentials".
2022-12-09 22:12:49 +08:00
figsoda
661af99ab6 Add remove_empty_inherit assist 2022-12-08 06:29:36 +08:00
figsoda
101387fb2f Add add_to_top_level_lambda_param assist 2022-12-06 04:54:54 +08:00
figsoda
cbc6298c7a Add multiple rhs support for convert_to_inherit assist 2022-12-06 04:53:34 +08:00
oxalica
46eeb57f9b Add { and } getters for Pat 2022-12-05 02:12:53 +08:00
Artturin
9aa4530252 Add formatter setting example to dev/nvim-lsp.nix
and fix the path to the file in readme
2022-12-05 01:15:16 +08:00
figsoda
ef9bdb801e add convert_to_inherit for { a.b = b; } 2022-12-02 05:22:18 +08:00
oxalica
c549d6fbb2 Partially revert "Simplify CI"
This reverts commit df7fd7b17e.
2022-12-01 09:15:15 +08:00
oxalica
df7fd7b17e Simplify CI 2022-12-01 09:09:43 +08:00
oxalica
4532f57f13 Polish README 2022-12-01 09:01:36 +08:00
oxalica
7cd1e078fe Update dependencies 2022-12-01 09:01:36 +08:00
oxalica
f62a769325 Limit semantic token range to fix performance issue 2022-12-01 07:41:39 +08:00
oxalica
8f8a5d2cff Fix highlight kind 2022-11-28 00:57:20 +08:00
oxalica
10e7fc394b Impl documentHighlight 2022-11-28 00:40:58 +08:00
oxalica
eb7c84c429 Remove rowan dependency from crates except syntax 2022-11-26 17:58:00 +08:00
oxalica
8001f0d71b Don't highlight string fragment
Fragment highlighting would overwrite the highlighting of injected
languages.
2022-11-26 16:33:32 +08:00
oxalica
afec5fed82 Update README 2022-11-25 23:46:34 +08:00
oxalica
84e39a65c9 Allow disable diagnostics for some files 2022-11-25 23:42:43 +08:00
oxalica
9794a2eb97 Impl assist to flatten Attrset in bindings 2022-11-25 01:23:33 +08:00