mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(dart): update indents from upstream (#4924)
This commit is contained in:
parent
33eb472b45
commit
46ddea9dec
3 changed files with 6 additions and 3 deletions
2
.github/workflows/update-lockfile.yml
vendored
2
.github/workflows/update-lockfile.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
- name: Update parsers
|
||||
env:
|
||||
SKIP_LOCKFILE_UPDATE_FOR_LANGS: "dart"
|
||||
SKIP_LOCKFILE_UPDATE_FOR_LANGS: ""
|
||||
run: |
|
||||
cp lockfile.json /tmp/old_lockfile.json
|
||||
./nvim.appimage --headless -c "luafile ./scripts/write-lockfile.lua" -c "q"
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
"revision": "c2fbf21bd3aa45495fe13247e040ad5815250032"
|
||||
},
|
||||
"dart": {
|
||||
"revision": "8aa8ab977647da2d4dcfb8c4726341bee26fbce4"
|
||||
"revision": "0033b223b5876b0db07da487dc799dcb63aedd1b"
|
||||
},
|
||||
"devicetree": {
|
||||
"revision": "d2cc332aeb814ea40e1e34ed6b9446324b32612a"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,10 @@
|
|||
(#set! indent.immediate 1)
|
||||
(#set! indent.start_at_same_line 1))
|
||||
|
||||
(switch_label) @indent.branch
|
||||
[
|
||||
(switch_statement_case)
|
||||
(switch_statement_default)
|
||||
] @indent.branch
|
||||
|
||||
[
|
||||
"("
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue