mirror of
https://github.com/Ascyii/typstar.git
synced 2026-01-01 13:34:24 -05:00
fix(anki): allow spaces in deck name
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "pdm.backend"
|
|||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "typstar"
|
name = "typstar"
|
||||||
version = "1.1.0"
|
version = "1.1.1"
|
||||||
description = "Neovim plugin for efficient note taking in Typst"
|
description = "Neovim plugin for efficient note taking in Typst"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "arne314" }
|
{ name = "arne314" }
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ ts_flashcard_query = """
|
|||||||
ts_deck_query = """
|
ts_deck_query = """
|
||||||
((comment) @deck)
|
((comment) @deck)
|
||||||
"""
|
"""
|
||||||
deck_regex = re.compile(r"\W+ANKI:\s*(\S*)")
|
deck_regex = re.compile(r"\W+ANKI:\s*([\S ]*)")
|
||||||
|
|
||||||
|
|
||||||
class FlashcardParser:
|
class FlashcardParser:
|
||||||
|
|||||||
Reference in New Issue
Block a user