diff options
author | cos <cos> | 2023-11-02 14:19:13 +0100 |
---|---|---|
committer | cos <cos> | 2023-11-10 09:50:35 +0100 |
commit | 0900e3fc09c33ec5c15a42f3bffd886046be717b (patch) | |
tree | f0140f31f732c0b0869eb7efcda695e3c6cfa004 /doc | |
parent | 24d96791c318c39b4c6d7c6bdf5b66059541a4da (diff) | |
download | vim-preseed-main.zip |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/preseed.txt | 14 | ||||
-rw-r--r-- | doc/tags | 1 |
2 files changed, 13 insertions, 2 deletions
diff --git a/doc/preseed.txt b/doc/preseed.txt index 5603423..71903f2 100644 --- a/doc/preseed.txt +++ b/doc/preseed.txt @@ -6,5 +6,15 @@ some of its derivatives. As the preseed files typically either have "txt" or simply no file extension, filetype detection relies on their first line being `#_preseed_V1`. - *preseed-settings* -This plugin doesn't have any settings. + *preseed_add_sh_pattern* *preseed-settings* + +Any custom questions can be set to have their arguments set as shell, just like +for `preseed/include_command` and friends, by setting 'preseed_add_sh_pattern'. + +e.g.: + + let g:preseed_add_sh_pattern = '\(site_pkg/some_question\|my_pkg/a_question\) + +Needing to set the pattern for any widely available package is to be considered +a bug. Please report if required to override the pattern to match a question +expecting a shell command argument for any package included in debian. @@ -1,3 +1,4 @@ ft-preseed-syntax preseed.txt /*ft-preseed-syntax* preseed-settings preseed.txt /*preseed-settings* preseed.txt preseed.txt /*preseed.txt* +preseed_add_sh_pattern preseed.txt /*preseed_add_sh_pattern* |