Skip to content

Commit

Permalink
Use correct field separator in keywords.txt
Browse files Browse the repository at this point in the history
The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab the keyword is not highlighted.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
  • Loading branch information
per1234 authored Jul 16, 2018
1 parent fd075a6 commit 105c2a9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
# Datatypes (KEYWORD1)
######################

Lewis KEYWORD1
Lewis KEYWORD1

######################
# Funtions (KEYWORD2)
######################

begin KEYWORD2
available KEYWORD2
read KEYWORD2
peak KEYWORD2
flush KEYWORD2
flushRX KEYWORD2
flushTX KEYWORD2
write KEYWORD2
begin KEYWORD2
available KEYWORD2
read KEYWORD2
peak KEYWORD2
flush KEYWORD2
flushRX KEYWORD2
flushTX KEYWORD2
write KEYWORD2

#######################
# Constants (LITERAL1)
Expand Down

0 comments on commit 105c2a9

Please sign in to comment.