Skip to content

Commit 46730b0

Browse files
authored
Replace "whitelist" with more inclusive terminology (#238)
No change to logic. This prefers "allowlist" to "whitelist" for the sake of using inclusive terminology.
1 parent cdf8247 commit 46730b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

autoload/maktaba/flags.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
" list) are not sourced until after .vimrc files. Thus, users may only set list
66
" and dict settings, they may not easily add to or remove from default settings.
77
"
8-
" For example, suppose a plugin provides a whitelist which you would like to
9-
" alter. You can set the whitelist in your vimrc, but you cannot add to it:
10-
" the whitelist doesn't exist until plugin-time, after the vimrc exits.
8+
" For example, suppose a plugin provides an allowlist which you would like to
9+
" alter. You can set the allowlist in your vimrc, but you cannot add to it:
10+
" the allowlist doesn't exist until plugin-time, after the vimrc exits.
1111
"
1212
" The solution is flags. Each Maktaba plugin which uses |maktaba#plugin#Enter|
1313
" has a plugin dictionary, which has a flag dictionary containing Flag objects,

autoload/maktaba/syscall.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function! s:DoSyscallCommon(syscall, CallFunc, throw_errors) abort
5656
let l:return_data = {}
5757

5858
" Force shell to /bin/sh since vim only works properly with POSIX shells.
59-
" If the shell is a whitelisted wrapper, override the wrapped shell via $SHELL
59+
" If the shell is an allowed wrapper, override the wrapped shell via $SHELL
6060
" instead.
6161
let l:shell_state = maktaba#value#SaveAll(['&shell', '$SHELL'])
6262
if &shell !~# s:usable_shell

0 commit comments

Comments
 (0)