tree-sitter / tree-sitter-bash

Bash grammar for tree-sitter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiline string entirely misses its content

ahlinc opened this issue · comments

REPOS="
  main 
  restricted
  universe
"

image

I think there should be string_content nodes per line.

Current situation on top of #211

image

I wrote before: "... there should be string_content nodes per line."

I said that because practice has shown that having multi-line tokens makes working harder with trees, IDEs (VSCode for example) doesn't support multi-line tokens what leads to additional Tree-sitter tokens post-processing by splitting them on multiple tokens per line, I think this should be avoided.