show current definition being edited
commit0374e82aa523c3f64a99aacacbc23eccb5c25404
authorKartik K. Agaram <vc@akkartik.com>
Fri, 18 Mar 2022 17:33:26 +0000 (18 10:33 -0700)
committerKartik K. Agaram <vc@akkartik.com>
Fri, 18 Mar 2022 17:39:56 +0000 (18 10:39 -0700)
treeaacb749b2b21c3c78b1ea05cc9b22837c83e783b
parentaf8d3addd29880a7eb739cdedaf594facbcad06f
show current definition being edited

This serves two purposes:
- Things get confusing if function being defined doesn't match the
  definition name. Displaying the current definition helps diagnose this
  situation.
- We're already able to see callers at a glance even if the cursor is
  below the fold. The name of the current definition is arguably more
  important in that situation.
src/kilo.c
src/teliva.c