Y
Hacker News
new
|
ask
|
show
|
jobs
by
nerdponx
1810 days ago
For what it's worth, you can have "nested" syntax highlighting of SQL inside Bash scripts, with Tree Sitter in Neovim.
You could also read the contents of the query file into a shell parameter with the `read` builtin.