-
-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
I was looking for a plugin that would let me use gf
with both node require()
and ES2015 import
syntax; this plugin solved 3 of 4 situations:
- ✔ Relative Node modules:
const someModule = require('./someModule')
- ✔ Resolved Node modules:
const someModule = require('someModule')
- ✔ Relative ES2015 modules:
import someModule from './someModule'
- 🙏 Resolved ES2015 modules:
import someModule from 'someModule'
Because ES2015 modules are gaining greater popularity and are being considered for Node itself, it would be awesome if this plugin covered the fourth situation as well. To go along with this, this plugin could potentially be re-named to vim-es-modules
or something...
p.s. Great plugin! Thank you for making it :)
chadrien, iammerrick, drewproud, yqrashawn, carlaviktor and 6 more
Metadata
Metadata
Assignees
Labels
No labels