提交 146b2f6a 编写于 作者: P per1234 提交者: Me No Dev

Use correct separator in keywords.txt (#1175)

The Arduino IDE currently requires the use of a tab separator between the name and identifier. Without this tab the keyword is not highlighted.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
上级 b4b9a79e
......@@ -15,10 +15,10 @@ ArduinoOTA KEYWORD1
begin KEYWORD2
setup KEYWORD2
handle KEYWORD2
onStart KEYWORD2
onEnd KEYWORD2
onError KEYWORD2
onProgress KEYWORD2
onStart KEYWORD2
onEnd KEYWORD2
onError KEYWORD2
onProgress KEYWORD2
#######################################
# Constants (LITERAL1)
......
......@@ -14,10 +14,10 @@ MDNS KEYWORD1
#######################################
begin KEYWORD2
end KEYWORD2
end KEYWORD2
addService KEYWORD2
enableArduino KEYWORD2
disableArduino KEYWORD2
disableArduino KEYWORD2
#######################################
# Constants (LITERAL1)
......
......@@ -9,6 +9,6 @@ Ticker KEYWORD1
#######################################
attach KEYWORD2
attach_ms KEYWORD2
once KEYWORD2
detach KEYWORD2
attach_ms KEYWORD2
once KEYWORD2
detach KEYWORD2
......@@ -13,10 +13,10 @@ Update KEYWORD1
#######################################
begin KEYWORD2
end KEYWORD2
end KEYWORD2
write KEYWORD2
writeStream KEYWORD2
printError KEYWORD2
printError KEYWORD2
#######################################
# Constants (LITERAL1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册