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
This commit is contained in:
per1234 2018-03-04 22:38:39 -08:00 committed by Me No Dev
parent b4b9a79eea
commit 146b2f6a23
4 changed files with 11 additions and 11 deletions

View File

@ -15,10 +15,10 @@ ArduinoOTA KEYWORD1
begin KEYWORD2 begin KEYWORD2
setup KEYWORD2 setup KEYWORD2
handle KEYWORD2 handle KEYWORD2
onStart KEYWORD2 onStart KEYWORD2
onEnd KEYWORD2 onEnd KEYWORD2
onError KEYWORD2 onError KEYWORD2
onProgress KEYWORD2 onProgress KEYWORD2
####################################### #######################################
# Constants (LITERAL1) # Constants (LITERAL1)

View File

@ -14,10 +14,10 @@ MDNS KEYWORD1
####################################### #######################################
begin KEYWORD2 begin KEYWORD2
end KEYWORD2 end KEYWORD2
addService KEYWORD2 addService KEYWORD2
enableArduino KEYWORD2 enableArduino KEYWORD2
disableArduino KEYWORD2 disableArduino KEYWORD2
####################################### #######################################
# Constants (LITERAL1) # Constants (LITERAL1)

View File

@ -9,6 +9,6 @@ Ticker KEYWORD1
####################################### #######################################
attach KEYWORD2 attach KEYWORD2
attach_ms KEYWORD2 attach_ms KEYWORD2
once KEYWORD2 once KEYWORD2
detach KEYWORD2 detach KEYWORD2

View File

@ -13,10 +13,10 @@ Update KEYWORD1
####################################### #######################################
begin KEYWORD2 begin KEYWORD2
end KEYWORD2 end KEYWORD2
write KEYWORD2 write KEYWORD2
writeStream KEYWORD2 writeStream KEYWORD2
printError KEYWORD2 printError KEYWORD2
####################################### #######################################
# Constants (LITERAL1) # Constants (LITERAL1)