Skip to content

Commit 500f195

Browse files
committed
reannotate keywords
1 parent 6c92a2f commit 500f195

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/github/xepozz/crontab/language/CrontabAnnotator.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.github.xepozz.crontab.language
22

3-
import com.github.xepozz.crontab.language.psi.CrontabSchedule
3+
import com.github.xepozz.crontab.language.psi.CrontabTimePointer
44
import com.github.xepozz.crontab.language.psi.CrontabVariableName
55
import com.github.xepozz.crontab.language.psi.CrontabVariableValue
66
import com.intellij.lang.annotation.AnnotationHolder
@@ -13,7 +13,7 @@ import com.intellij.psi.PsiElement
1313
class CrontabAnnotator : Annotator {
1414
override fun annotate(element: PsiElement, holder: AnnotationHolder) {
1515
when (element) {
16-
is CrontabSchedule -> {
16+
is CrontabTimePointer -> {
1717
holder.newSilentAnnotation(HighlightSeverity.INFORMATION)
1818
.range(element.textRange)
1919
.textAttributes(SCHEDULE_HIGHLIGHT)

0 commit comments

Comments
 (0)