From 24e98508ac6c4985f13d8a8e344c3995149c7423 Mon Sep 17 00:00:00 2001 From: Troy Mitchell Date: Wed, 29 Oct 2025 22:12:09 +0800 Subject: [PATCH] README: fix wrong config snippet in LazyVim Remove unnecessary curly braces, as this will prevent the plugin from recognizing DeckName. Signed-off-by: Troy Mitchell --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0e18b4e..496c4d4 100644 --- a/README.md +++ b/README.md @@ -47,16 +47,14 @@ use({ "rareitems/anki.nvim", -- lazy -- don't lazy it, it tries to be as lazy possible and it needs to add a filetype association opts = { - { - -- this function will add support for associating '.anki' extension with both 'anki' and 'tex' filetype. - tex_support = false, - models = { - -- Here you specify which notetype should be associated with which deck - NoteType = "PathToDeck", - ["Basic"] = "Deck", - ["Super Basic"] = "Deck::ChildDeck", - }, - } + -- this function will add support for associating '.anki' extension with both 'anki' and 'tex' filetype. + tex_support = false, + models = { + -- Here you specify which notetype should be associated with which deck + NoteType = "PathToDeck", + ["Basic"] = "Deck", + ["Super Basic"] = "Deck::ChildDeck", + }, } } ```