summaryrefslogtreecommitdiff
path: root/anki.lua
blob: 30271e0a806b50bd5cdf43b23db5ed471d8f0a93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
return {
	{
		"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 = true,
				-- if 'true' it will move the cursor the position of the first field
				move_cursor_after_creation = true,
				models = {
					-- Here you specify which notetype should be associated with which deck
					["Statystyka"] = "Statystyka",
					["Pleco"] = "English",
				},
			},
		},
	},
}