1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # Which editor to use, zed or vared
- # vared is the default
- local feditor="zed"
- # local feditor="vared"
- # How should be current element of the list drawn. Possible values: reverse,
- # underline.
- # On Linux virtual terminal this will be enforced to reverse (because of poor
- # underline support on that terminal). The same for screen/tmux.
- local active_text=reverse
- #
- # Zshrc integration. All below variables can
- # be set in zshrc and will have precedence
- # over config files
- #
- # 1. znt_functions_feditor
- feditor=${znt_functions_feditor:-$feditor}
- # 2. znt_functions_active_text
- active_text=${znt_functions_active_text:-$active_text}
- # 3. znt_functions_nlist_coloring_pattern
- NLIST_COLORING_PATTERN=${znt_functions_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
- # 4. znt_functions_nlist_coloring_color
- NLIST_COLORING_COLOR=${znt_functions_nlist_coloring_color:-$NLIST_COLORING_COLOR}
- # 5. znt_functions_nlist_coloring_match_multiple
- NLIST_COLORING_MATCH_MULTIPLE=${znt_functions_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
- # 6. znt_functions_keywords (array)
- if (( ${+znt_functions_keywords} )); then
- keywords=( "${znt_functions_keywords[@]}" )
- fi
|