mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
fix: csearch ignores lua files
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
This commit is contained in:
parent
322253cd7b
commit
4d1840b883
|
|
@ -1739,7 +1739,7 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
|
|||
typeset -a completions
|
||||
local pp
|
||||
for pp in "${plugin_paths[@]}"; do
|
||||
completions=( "$pp"/**/_[^_.]*~*(*.zwc|*.html|*.txt|*.png|*.jpg|*.jpeg|*.js|*.md|*.yml|*.ri|_zsh_highlight*|/zsdoc/*|*.ps1)(DN^/) )
|
||||
completions=( "$pp"/**/_[^_.]*~*(*.zwc|*.html|*.txt|*.png|*.jpg|*.jpeg|*.js|*.md|*.yml|*.ri|_zsh_highlight*|/zsdoc/*|*.ps1|*.lua)(DN^/) )
|
||||
if [[ "${#completions[@]}" -gt 0 ]]; then
|
||||
local pd="${pp:t}"
|
||||
[[ "${#pd}" -gt "$longest" ]] && longest="${#pd}"
|
||||
|
|
@ -1750,7 +1750,7 @@ print -- "\nAvailable ice-modifiers:\n\n${ice_order[*]}"
|
|||
|
||||
local c
|
||||
for pp in "${plugin_paths[@]}"; do
|
||||
completions=( "$pp"/**/_[^_.]*~*(*.zwc|*.html|*.txt|*.png|*.jpg|*.jpeg|*.js|*.md|*.yml|*.ri|_zsh_highlight*|/zsdoc/*|*.ps1)(DN^/) )
|
||||
completions=( "$pp"/**/_[^_.]*~*(*.zwc|*.html|*.txt|*.png|*.jpg|*.jpeg|*.js|*.md|*.yml|*.ri|_zsh_highlight*|/zsdoc/*|*.ps1|*.lua)(DN^/) )
|
||||
|
||||
if [[ "${#completions[@]}" -gt 0 ]]; then
|
||||
# Array of completions, e.g. ( _cp _xauth )
|
||||
|
|
|
|||
Loading…
Reference in a new issue