Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}
}
```
Expand Down