Skip to content

Commit

Permalink
Fix issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
pfoerster committed May 6, 2019
1 parent 0d1575f commit f67d55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/texlab/completion/bibtex/BibtexField.kt
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ enum class BibtexField {
companion object {
fun parse(name: String): BibtexField? {
return BibtexField.values()
.firstOrNull { it.toString() == name }
.firstOrNull { it.toString().equals(name, true) }
}
}
}

0 comments on commit f67d55e

Please sign in to comment.