kakounedotcom / connect.kak

Connect a program to Kakoune clients
https://kakoune.org
The Unlicense
88 stars 18 forks source link

fix #25 #26

Closed vbauerster closed 4 years ago

alexherbo2 commented 4 years ago

Do you know why the opening parenthesis is needed? I have never seen this syntax before.

vbauerster commented 4 years ago

I first seen this syntax in plug.kak courtesy of @andreyorst. My guess is that inside $(..) any parentheses must match.

andreyorst commented 4 years ago

I first seen this syntax in plug.kak courtesy of @andreyorst. My guess is that inside $(..) any parentheses must match.

I've read that it is supported by POSIX sh, and also by Bash, so I've used it, because it helps keeping m working when selecting code :)

But I haven't seen much information on this topic, maybe it has some differences with single parenthesis version, which I'm not aware about.