Skip to content

Commit

Permalink
feat: displaying help messages and actually updating things
Browse files Browse the repository at this point in the history
  • Loading branch information
wllfaria committed Aug 23, 2024
1 parent 83d4290 commit 8665532
Show file tree
Hide file tree
Showing 6 changed files with 391 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .luarc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"diagnostics": {
"disable": ["redefined-local"]
}
}
3 changes: 2 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ fmt:
stylua lua/ --config-path=stylua.toml

lint:
luacheck lua/ --globals vim
# 4** is shadowing warnings on luacheck
luacheck lua/ --globals vim --ignore 4*

test:
nvim --headless --noplugin -u scripts/minimal_init.vim -c "PlenaryBustedDirectory lua/tests/ { minimal_init = './scripts/minimal_init.vim' }"
2 changes: 1 addition & 1 deletion lua/ledger/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ local function get_default_config()
["Show Budget"] = {
command = "ledger --strict -f main.ledger budget",
filters = {
["Period"] = {
["Another"] = {
flag = "-p",
input = true,
},
Expand Down
1 change: 1 addition & 0 deletions lua/ledger/tui/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function LedgerTui:setup()
self.layout:setup_windows()
self.layout:setup_aucmds()
self.reports:populate_reports()
self.reports:populate_filters()
end

function LedgerTui:shutdown()
Expand Down
Loading

0 comments on commit 8665532

Please sign in to comment.