Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

add cjs file extension to grammars #666

Merged
merged 1 commit into from
Dec 11, 2019
Merged

add cjs file extension to grammars #666

merged 1 commit into from
Dec 11, 2019

Conversation

heavyk
Copy link
Contributor

@heavyk heavyk commented Dec 1, 2019

Description of the Change

I have to use .cjs extensions, but atom doesn't recognise them as js language, so I added the extension

cause node is kinda retarded, I have to use .cjs extensions, but atom doesn't recognise them as js language
@darangi darangi added the triaged label Dec 9, 2019
@darangi darangi merged commit 16b9f3e into atom:master Dec 11, 2019
@staplegun
Copy link

The .cjs file extension was fixed and merged into master a year ago, but there hasn't been a release since then.

Is there a way to manually get this new version of master into my Atom client, or do I need to wait until the next release? Or maybe there is a way to manually add .cjs to the list of recognised file extensions (I had a look in my .apm directory but I couldn't figure out where it might be configured).

@darangi
Copy link
Contributor

darangi commented Dec 3, 2020

Hi @staplegun, I will confirm why it didn't get released, in the meantime, you can get this feature by cloning this repo and executing the following instructions

  1. cd into the repo you just cloned
  2. run apm install
  3. once that is complete, you should run apm link
  4. Reload atom

The above steps should help you link the repo to atom

@staplegun
Copy link

Thanks @darangi that worked perfectly.

@icecream17 icecream17 mentioned this pull request Jan 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants