diff --git a/syntax/just.vim b/syntax/just.vim
index 87de446..266f036 100644
--- a/syntax/just.vim
+++ b/syntax/just.vim
@@ -87,7 +87,7 @@ syn region justRecipeAttributes
\ contains=justRecipeAttr,justRecipeAttrSep,justRecipeAttrArgs,justRecipeAttrArgError,justRecipeAttrValueShort
syn keyword justRecipeAttr
- \ confirm doc extension group linux macos no-cd no-exit-message no-quiet positional-arguments private script unix windows
+ \ confirm doc extension group linux macos no-cd no-exit-message no-quiet openbsd positional-arguments private script unix windows working-directory
\ contained
syn match justRecipeAttrSep ',' contained
syn match justRecipeAttrValueShort '\v:%(\_s|\\\n)*' transparent contained
diff --git a/tests/cases/recipes-with-extras.html b/tests/cases/recipes-with-extras.html
index 265bab7..122f00f 100644
--- a/tests/cases/recipes-with-extras.html
+++ b/tests/cases/recipes-with-extras.html
@@ -170,3 +170,8 @@
	echo {{UNDERLINE}}{{MAGENTA}}Magenta underlined text{{NORMAL}}
	echo "{{style('command')}}echo command{{NORMAL}}"
	echo {{quote(style('command') + 'echo command' + NORMAL)}} >&2
+
+[working-directory('../..')]
+attr-working-directory:
+	pwd
+	ls -lA
diff --git a/tests/cases/recipes-with-extras.just b/tests/cases/recipes-with-extras.just
index dca98a1..1893734 100644
--- a/tests/cases/recipes-with-extras.just
+++ b/tests/cases/recipes-with-extras.just
@@ -170,3 +170,8 @@ styles:
echo {{UNDERLINE}}{{MAGENTA}}Magenta underlined text{{NORMAL}}
echo "{{style('command')}}echo command{{NORMAL}}"
echo {{quote(style('command') + 'echo command' + NORMAL)}} >&2
+
+[working-directory('../..')]
+attr-working-directory:
+ pwd
+ ls -lA