1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-23 03:57:06 +03:00
Commit Graph

241 Commits

Author SHA1 Message Date
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
oxalica
655d5247a6 Impl assist to pack bindings 2022-11-25 00:23:22 +08:00
oxalica
1f5d8ceee0 Simplify and fix tests for assists 2022-11-24 23:07:31 +08:00
oxalica
6212e5508e Fix dev env 2022-11-24 21:52:00 +08:00
oxalica
f1304942e3 Fix rust 1.64 compatibility
nixpkgs still have rust 1.64 on master.
2022-11-24 19:20:42 +08:00
oxalica
41de8c72c5 Follow keymaps from official guide for coc.nvim 2022-11-24 03:43:04 +08:00
oxalica
8d32b2a081 Impl code action for converting to inherit 2022-11-24 03:43:03 +08:00
oxalica
c088c1b4e7 Fix typo: release doesn't need debuginfo 2022-11-23 21:56:27 +08:00
oxalica
f4cdc1a106 Remove heavy commands from pre-commit hook 2022-11-23 20:08:58 +08:00
oxalica
dc211dce86 Update dependencies 2022-11-23 20:06:27 +08:00
oxalica
bea40f71fc Impl string unescaping by parts 2022-11-17 03:11:21 +08:00
oxalica
c4bcb3015b Impl indent string stripping 2022-11-17 02:59:14 +08:00
oxalica
276615a48d Add tests for syntax::semantic 2022-11-16 23:11:27 +08:00
oxalica
170f89761d Complete and add tests for AST getters 2022-11-16 22:40:36 +08:00
oxalica
4087d3acde Optimize searching let and rec in Attrset 2022-11-16 21:39:53 +08:00
oxalica
1ac520b784 Refactor Attrset desugaring and move out some logic 2022-11-16 21:22:27 +08:00
oxalica
3fa46cc956 Track Attr source info in Ty 2022-11-14 20:17:34 +08:00
oxalica
dfffc45c35 Simplify and unify convertion helpers 2022-11-11 05:56:39 +08:00
oxalica
a13e89c622 Fix dead lock in apply_vfs_change 2022-11-11 05:26:55 +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
3749c6bb3a Keep literal strings during lowering 2022-11-10 03:31:23 +08:00
oxalica
e3ce3bfca0 Move identifier check and quoting into syntax 2022-11-10 01:25:01 +08:00
oxalica
7669c00997 Fix theme of coc.nvim dev env 2022-11-10 00:44:23 +08:00