bors[bot]
e0c6e106d9
Merge #3354
...
3354: Map builtin r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 17:40:36 +00:00
Aleksey Kladov
873156640d
Map builtin
2020-02-27 18:37:25 +01:00
bors[bot]
5059cecc70
Merge #3353
...
3353: Set attr scope r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 17:32:16 +00:00
Aleksey Kladov
00fc17272d
Set attr scope
2020-02-27 18:31:54 +01:00
bors[bot]
a94e96720d
Merge #3352
...
3352: Map unsafe keyword r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 16:29:56 +00:00
Aleksey Kladov
4e5c1f5608
Map unsafe keyword
2020-02-27 17:28:59 +01:00
bors[bot]
d311e4bc6b
Merge #3351
...
3351: Refactor string literals r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 16:21:09 +00:00
Aleksey Kladov
e74484e133
Refactor string literals
2020-02-27 17:19:53 +01:00
Aleksey Kladov
fedab39011
Merge pull request #3350 from edwin0cheng/give-up-hover-in-builtin-macro
...
Ignore hover on builtin macro
2020-02-27 16:48:22 +01:00
Aleksey Kladov
de492d439f
Merge pull request #3349 from matklad/yo-dawg
...
Put syntax highlighting into syntax highlighting
2020-02-27 16:48:06 +01:00
Aleksey Kladov
062c12e3cd
Merge pull request #3348 from matklad/single-line
...
Ensure that semantic tokens are single-line
2020-02-27 16:35:00 +01:00
Aleksey Kladov
c6247f74c7
Basic injections
2020-02-27 16:16:13 +01:00
Aleksey Kladov
8ed7e751b6
Ensure that semantic tokens are single-line
2020-02-27 16:06:46 +01:00
Edwin Cheng
c42bbc5e37
Ignore hover on builtin macro
2020-02-27 23:03:18 +08:00
bors[bot]
57f0d6cba3
Merge #3346
...
3346: More cleanup r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 13:20:46 +00:00
Aleksey Kladov
8215b74032
Move tests to a new file
2020-02-27 14:20:22 +01:00
Aleksey Kladov
695460fbf5
More cleanup
2020-02-27 14:14:24 +01:00
bors[bot]
2e0cc8b62a
Merge #3344
...
3344: Split loop into orthogonal phases r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 11:26:17 +00:00
Aleksey Kladov
a2dbdbba00
Split loop into orthogonal phases
2020-02-27 11:56:42 +01:00
Aleksey Kladov
9bb1718639
Cleanup
2020-02-27 11:39:54 +01:00
Aleksey Kladov
819bbd0864
Minor cleanup
2020-02-27 11:37:21 +01:00
bors[bot]
405e3d20a9
Merge #3343
...
3343: Fix style r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 10:15:01 +00:00
Aleksey Kladov
b8d7c4e1ad
Fix style
2020-02-27 11:10:58 +01:00
bors[bot]
e4a28312c4
Merge #3342
...
3342: Some docs r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 10:07:51 +00:00
Aleksey Kladov
364162f875
Some docs
2020-02-27 11:07:26 +01:00
bors[bot]
0639250d5a
Merge #3341
...
3341: Make xtask install path-agnostic r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 09:56:41 +00:00
Aleksey Kladov
520b0c8faf
Make xtask install path-agnostic
2020-02-27 10:55:27 +01:00
Aleksey Kladov
9a8329a3a7
Merge pull request #3340 from matklad/fix-lint
...
Actually gate CI on eslint
2020-02-27 10:47:43 +01:00
Aleksey Kladov
cfa5afa02d
Fix lint
2020-02-27 10:46:43 +01:00
Aleksey Kladov
356395139c
Actually gate CI on eslint
2020-02-27 10:40:53 +01:00
bors[bot]
ebeca1990e
Merge #3339
...
3339: Fix flickering with new syntax highlighting r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 09:25:34 +00:00
Aleksey Kladov
b49508ffe3
Fix flickering with new syntax highlighting
2020-02-27 10:19:56 +01:00
bors[bot]
04b3bd5ee8
Merge #3308
...
3308: vscode: fix vscode-vim keybindings conflict r=matklad a=Veetaha
Closes #3013 I hope
vscode-vim extension overrides the `type` command so that it prevents
some keypresses to reach the text document editor.
It conflicts with our `onEnter` keybinding
that is used to support automatic doc comments extending and
indentation insertion.
The VSCode-native way to implement this would be
to use regular expressions, but as per matklad it is
considered not acceptable for the language server.
Thus we implement it via a `Enter` keybinding that
invokes our `onEnter` command which does it via the language-server.
At the end of the day we may only apply
ad hoc workarounds for conflicting extensions.
But vscode has another bug for that. You
either cannot use parantheses in `when` condition
of a keybinding or it just malfunctions.
See an issue about that here: https://github.com/microsoft/vscode/issues/91473
To get the ultimate context, follow this [zulip thread](https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Enhanced.20typing )
Co-authored-by: Veetaha <gerzoh1@gmail.com>
2020-02-27 09:00:31 +00:00
bors[bot]
50956f89fc
Merge #3285
...
3285: Handle trivia in Structural Search and Replace r=matklad a=adamrk
Addresses the second point of https://github.com/rust-analyzer/rust-analyzer/issues/3186 .
Structural search and replace will now match code that has varies from the pattern in whitespace or comments.
One issue is that it's not clear where comments in the matched code should go in the replacement. With this change they're just tacked on at the end, which can cause some unexpected moving of comments (see the last test example).
Co-authored-by: adamrk <ark.email@gmail.com>
2020-02-27 08:54:18 +00:00
bors[bot]
7f7d96cffe
Merge #3338
...
3338: Renam module r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 08:47:03 +00:00
Aleksey Kladov
2374f8ddd8
Renam module
2020-02-27 09:46:41 +01:00
bors[bot]
2180591593
Merge #3335
...
3335: Refactor highlighting a bit r=matklad a=matklad
bors r+
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-27 08:32:44 +00:00
Aleksey Kladov
a8e68ff814
Color constants
2020-02-27 09:32:00 +01:00
Aleksey Kladov
9784ab9f39
Move html highlightig to a separate module
2020-02-27 09:32:00 +01:00
Aleksey Kladov
995c46024b
Fix html tests
2020-02-27 09:32:00 +01:00
Aleksey Kladov
f7db49bfc6
Better highlightign API
2020-02-27 09:32:00 +01:00
bors[bot]
ac52a4109f
Merge #3337
...
3337: Remove unused dependencies r=matklad a=sinkuu
Co-authored-by: Shotaro Yamada <sinkuu@sinkuu.xyz>
2020-02-27 06:44:44 +00:00
Shotaro Yamada
33de107ed9
Remove unused dependencies
2020-02-27 14:04:13 +09:00
bors[bot]
13e16a4ad4
Merge #3336
...
3336: Use text_range::extend_to r=edwin0cheng a=edwin0cheng
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-02-27 02:08:19 +00:00
Edwin Cheng
61fd6c6270
Use text_range::extend_to
2020-02-27 10:06:48 +08:00
bors[bot]
05388b4ea4
Merge #3334
...
3334: Update lsp-types r=matklad a=kjeremy
Uses the correct type for the currently unused `SemanticTokensEditsRequest::Return`
Co-authored-by: kjeremy <kjeremy@gmail.com>
2020-02-26 21:53:29 +00:00
kjeremy
bc1985037f
Update lsp-types
2020-02-26 16:50:47 -05:00
bors[bot]
0e09ecb8b3
Merge #3332
...
3332: Fix r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-02-26 21:10:44 +00:00
Aleksey Kladov
c88ba9c4bd
Fix
2020-02-26 22:10:23 +01:00
Aleksey Kladov
723e83fb25
wip
2020-02-26 22:08:21 +01:00