From d775923070966ecf18f71d90dc253688b93ea181 Mon Sep 17 00:00:00 2001 From: Andonome <52453904+Andonome@users.noreply.github.com> Date: Mon, 27 May 2024 19:50:46 +0200 Subject: [PATCH] Let task show recognize limit in taskrc (#3466) --- scripts/vim/syntax/taskrc.vim | 1 + src/commands/CmdShow.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/vim/syntax/taskrc.vim b/scripts/vim/syntax/taskrc.vim index 62f9d993a..8efddad9b 100644 --- a/scripts/vim/syntax/taskrc.vim +++ b/scripts/vim/syntax/taskrc.vim @@ -142,6 +142,7 @@ syn match taskrcGoodKey '^\s*\Vjournal.time='he=e-1 syn match taskrcGoodKey '^\s*\Vjournal.time.start.annotation='he=e-1 syn match taskrcGoodKey '^\s*\Vjournal.time.stop.annotation='he=e-1 syn match taskrcGoodKey '^\s*\Vjson.array='he=e-1 +syn match taskrcGoodKey '^\s*\Vlimit='he=e-1 syn match taskrcGoodKey '^\s*\Vlist.all.projects='he=e-1 syn match taskrcGoodKey '^\s*\Vlist.all.tags='he=e-1 syn match taskrcGoodKey '^\s*\Vlocale='he=e-1 diff --git a/src/commands/CmdShow.cpp b/src/commands/CmdShow.cpp index 27e0af744..04456840c 100644 --- a/src/commands/CmdShow.cpp +++ b/src/commands/CmdShow.cpp @@ -173,6 +173,7 @@ int CmdShow::execute (std::string& output) " journal.time.start.annotation" " journal.time.stop.annotation" " json.array" + " limit" " list.all.projects" " list.all.tags" " locking"