Skip to content

Commit d4faf00

Browse files
committed
feat: displaying help messages and actually updating things
1 parent 536468c commit d4faf00

File tree

6 files changed

+391
-26
lines changed

6 files changed

+391
-26
lines changed

.luarc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"diagnostics": {
3+
"disable": ["redefined-local"]
4+
}
5+
}

Justfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ fmt:
44
stylua lua/ --config-path=stylua.toml
55

66
lint:
7-
luacheck lua/ --globals vim
7+
# 4** is shadowing warnings on luacheck
8+
luacheck lua/ --globals vim --ignore 4*
89

910
test:
1011
nvim --headless --noplugin -u scripts/minimal_init.vim -c "PlenaryBustedDirectory lua/tests/ { minimal_init = './scripts/minimal_init.vim' }"

lua/ledger/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ local function get_default_config()
184184
["Show Budget"] = {
185185
command = "ledger --strict -f main.ledger budget",
186186
filters = {
187-
["Period"] = {
187+
["Another"] = {
188188
flag = "-p",
189189
input = true,
190190
},

lua/ledger/tui/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function LedgerTui:setup()
2525
self.layout:setup_windows()
2626
self.layout:setup_aucmds()
2727
self.reports:populate_reports()
28+
self.reports:populate_filters()
2829
end
2930

3031
function LedgerTui:shutdown()

0 commit comments

Comments
 (0)