Add more string and comment overrides (#36566)
Follow-up to #36469 Part of the issue was that we hadn't defined comment and string overrides for some languages. Hence, even after the fix edit predictions would show up in comments for me in e.g. JSONC files. This PR adds some more overrides where possible for this repo to ensure this happens less frequently. Release Notes: - N/A
This commit is contained in:
parent
4290f043cd
commit
83d361ba69
3 changed files with 8 additions and 0 deletions
2
crates/languages/src/bash/overrides.scm
Normal file
2
crates/languages/src/bash/overrides.scm
Normal file
|
@ -0,0 +1,2 @@
|
|||
(comment) @comment.inclusive
|
||||
(string) @string
|
|
@ -1 +1,2 @@
|
|||
(comment) @comment.inclusive
|
||||
(string) @string
|
||||
|
|
5
crates/languages/src/yaml/overrides.scm
Normal file
5
crates/languages/src/yaml/overrides.scm
Normal file
|
@ -0,0 +1,5 @@
|
|||
(comment) @comment.inclusive
|
||||
[
|
||||
(single_quote_scalar)
|
||||
(double_quote_scalar)
|
||||
] @string
|
Loading…
Add table
Add a link
Reference in a new issue