Skip to content

Commit 148d88b

Browse files
committed
docs: mention recents module
1 parent a05cd8e commit 148d88b

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ exercism.nvim integrates exercism into Neovim by providing a set of commands and
3737
- Browse and choose exercises from the entire exercism library from within Neovim
3838
- Quickly test and submit your solutions
3939
- Review your existing solution for an exercise
40+
- Track and revisit recently opened exercises
4041
- Simple keybindings and commands to make your workflow faster
4142

4243
## ⚡ Setup
@@ -83,6 +84,7 @@ exercism.setup({
8384
default_language = 'ruby', -- Default language for exercise list
8485
add_default_keybindings = true, -- Whether to add default keybindings
8586
use_new_command = false, -- Use new Exercism command
87+
max_recents = 30, -- Maximum number of recent exercises to keep
8688
icons = {
8789
concept = '', -- Icon for concept exercises
8890
practice = '', -- Icon for practice exercises
@@ -100,6 +102,7 @@ exercism.setup({
100102
- `Exercism submit` - Submits the current exercise
101103
- `Exercism open <language> <exercise>` - Opens a specific exercise directly in the specified language
102104
- `Exercism exercise <exercise>` - Opens a specific exercise directly using the default language
105+
- `Exercism recents` - Shows recently opened exercises in a fuzzy searchable list
103106

104107
#### Deprecated Commands
105108

lua/exercism/config.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
local M = {}
33

44
---@class ExercismConfigOptions
5-
---@field exercism_workspace string
6-
---@field default_language string
7-
---@field add_default_keybindings boolean
8-
---@field use_new_command boolean
9-
---@field max_recents integer
10-
---@field icons table<string, string>
5+
---@field exercism_workspace string Default workspace for exercism exercises
6+
---@field default_language string Default language for exercise list
7+
---@field add_default_keybindings boolean Whether to add default keybindings
8+
---@field use_new_command boolean Use new Exercism command
9+
---@field max_recents integer Maximum number of recent exercises to keep
10+
---@field icons table<string, string> Icons for different exercise types
1111

1212
---@type ExercismConfigOptions
1313
local config = {

0 commit comments

Comments
 (0)