Skip to content

Conversation

Fuco1
Copy link
Contributor

@Fuco1 Fuco1 commented Mar 31, 2017

It would be nice if some of these commonly used files were recognized by default as json-mode files.

If people find more they can stick them to the list.

Right now I use

(use-package json-mode
  :mode (rx (or ".babelrc" ".bowerrc") eos))

but I figured this is general enough to be included in the package itself.

It would be nice if some of these commonly used files were recognized by default as `json-mode` files.

If people find more they can stick them to the list.

Right now I use 

```
(use-package json-mode
  :mode (rx (or ".babelrc" ".bowerrc") eos))
```

but I figured this is general enough to be included in the package itself.
@joshwnj
Copy link
Collaborator

joshwnj commented Apr 3, 2017

@Fuco1 good idea - thanks!

@joshwnj joshwnj merged commit c528c77 into json-emacs:master Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants