sansarip / owlbear

An experimental Visual Studio Code extension that supports paredit-like structural-editing features for HTML, TypeScript, TypeScript-React, JavaScript, and JavaScript-React.
https://sansarip.github.io/owlbear/
MIT License
36 stars 2 forks source link

Nameless functions are not regarded #103

Closed sansarip closed 1 year ago

sansarip commented 1 year ago

Describe the bug Nameless functions like function() {} do not seem to be affected by Owlbear commands.

To Reproduce Before raise

const foo = function() {return ▌<></>}

After raise

▌<></>

Expected behavior Before raise

const foo = function() {return ▌<></>}

After raise

const foo = ▌<></>

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context N/A