Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add elixir as a language option
  • Loading branch information
ThatHurleyGuy committed Aug 31, 2021
commit 17b4f1f0c5bb08c0b85e828833d436b88fe19307
1 change: 1 addition & 0 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ Display question details. With `-g`/`-l`/`-x`, the code template would be auto g
* c
* cpp
* csharp
* elixir
* golang
* java
* javascript
Expand Down
1 change: 1 addition & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const DEFAULT_CONFIG = {
'c',
'cpp',
'csharp',
'elixir',
'golang',
'java',
'javascript',
Expand Down
1 change: 1 addition & 0 deletions lib/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const LANGS = [
{lang: 'c', ext: '.c', style: 'c'},
{lang: 'cpp', ext: '.cpp', style: 'c'},
{lang: 'csharp', ext: '.cs', style: 'c'},
{lang: 'elixir', ext: '.ex', style: '#'},
{lang: 'golang', ext: '.go', style: 'c'},
{lang: 'java', ext: '.java', style: 'c'},
{lang: 'javascript', ext: '.js', style: 'c'},
Expand Down