jellydn / jellydn/quick-code-runner.nvim

Feature Request: Allow config to define filetypes

Open
#35 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Lua
Stars
25
Forks
0
PR merge metrics
No merged PRs in 30d

Description

To allow running custom languages

Also possible cmd insertions (i.e ${TMP} in C's cmd?

Example:
```lua
opts = {
file_types = {
d = {
cmd = "dub run --single",
extensions = { "d" }
},
c = {
cmd = "gcc ${TMP} -o ${TMP}_output; ./${TMP}_output",
extensions = { "c", "h" }
}
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.