Skip to content

Commit b85e313

Browse files
committed
main: Declare variable local to fix WARN_CREATE_GLOBAL error
1 parent 41d90cb commit b85e313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highlighters/main/test-data/opt-shwordsplit1.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# -------------------------------------------------------------------------------------------------
3030

3131
setopt shwordsplit
32-
EDITOR='ed -s'
32+
local EDITOR='ed -s'
3333

3434
ed() { command ed "$@" }
3535

0 commit comments

Comments
 (0)