aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dirstore.go
diff options
context:
space:
mode:
authorBence Ferdinandy <bence@ferdinandy.com>2023-09-19 08:51:50 +0200
committerRobin Jarry <robin@jarry.cc>2023-09-19 11:09:16 +0200
commit4400b08a95b4f4548388e34858516df33d80b2d3 (patch)
tree6b52c8acd8d5fda566d22efa326886468c7e7c8f /lib/dirstore.go
parent194d263bbe2bd685b192ddcebbc64c099e3a8dc1 (diff)
downloadaerc-4400b08a95b4f4548388e34858516df33d80b2d3.tar.gz
commands: strip leading colons from commands
When giving advice on commands to run the colon is often included to signify that the snippet is needs to be run as an aerc command. Unfortunately, copying this into the command prompt of aerc leads to an error. Copy the behaviour of vim and strip any number of leading colons from command names. Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/dirstore.go')
0 files changed, 0 insertions, 0 deletions