dbarnett / vim-plugin-metadata

Parse and analyze your vim plugins, from Rust & Python!
MIT License
1 stars 0 forks source link

Fix parsing s: functions #2

Closed dbarnett closed 2 months ago

dbarnett commented 2 months ago

Find "scoped_identifier" nodes under func defs vs. just "identifier" ones, and warn/skip instead of panicking if no name is found.

dbarnett commented 2 months ago

And re "warn/skip instead of panicking", need to think about how to properly surface those kinds of non-critical errors to callers instead of just dumping warnings to stderr.