abe33 / abe33/atom-pigments

Add custom functions to be parsed?

未關閉
#482 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
CoffeeScript
星號
518
分支
70
PR 合併指標
30 天內沒有已合併 PR

描述

Not really an issue but not sure either where to ask that question.

I am wondering about the possibility to ass custom functions to be parsed. My use case is very simple :
`rgb(123,123,123)` will be parsed and a color will be displayed.
In my case I'm using an R function which is very similar : `rgb(123, 123, 123, maxColorValue = 255)` where the fourth argument will always be like this. Because there is a fourth argument, it is not currently parsed as a color.

Any way of doing this kind of things ?
Apologies if this is not the right place to ask that.
Thanks ahead of time for the help :)

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。