diff options
| author | filip <“filip.rabiega@gmail.com”> | 2026-02-04 16:34:45 +0100 |
|---|---|---|
| committer | filip <“filip.rabiega@gmail.com”> | 2026-02-04 16:34:45 +0100 |
| commit | 7a7a8ace1dacfff121ce90110c7b5c8635d178c3 (patch) | |
| tree | a90d1abf42f5b4ea8917e57a02a482ed32a4fae8 /anki.lua | |
| download | lazy-plugins-7a7a8ace1dacfff121ce90110c7b5c8635d178c3.tar.gz lazy-plugins-7a7a8ace1dacfff121ce90110c7b5c8635d178c3.tar.bz2 lazy-plugins-7a7a8ace1dacfff121ce90110c7b5c8635d178c3.zip | |
plugin dump
Diffstat (limited to 'anki.lua')
| -rw-r--r-- | anki.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/anki.lua b/anki.lua new file mode 100644 index 0000000..30271e0 --- /dev/null +++ b/anki.lua @@ -0,0 +1,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", + }, + }, + }, + }, +} |
