Skip to content

Commit

Permalink
🐛 Fix bug of bool
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Dec 20, 2023
1 parent 9a14751 commit 8f77922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zathura_language_server/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def from_node(cls, node: Node, parent: "Trie | None") -> "Trie":
elif _type == "float":
convert = float
elif _type == "bool":
convert = bool
convert = lambda x: x == "true"
else:
convert = lambda x: x.strip("'\"")
text = UNI.node2text(node)
Expand Down

0 comments on commit 8f77922

Please sign in to comment.