Closed Drew-Daniels closed 10 months ago
I am getting an error message when running :Telescope import while viewing a javascriptreact filetype file:
:Telescope import
javascriptreact
There is no javascriptreact filetype support.
This adds support for javascriptreact filetype files, and removes the invalid react filetype.
react
Output from :set filetype? in a .jsx buffer:
:set filetype?
.jsx
I've refactored things a bit so the PR won't work but I've included your change, thanks for this PR! 🙏
Issue
I am getting an error message when running
:Telescope import
while viewing ajavascriptreact
filetype file:Cause
There is no
javascriptreact
filetype support.Solution
This adds support for
javascriptreact
filetype files, and removes the invalidreact
filetype.Output from
:set filetype?
in a.jsx
buffer: