Skip to content

Commit ac2e4f5

Browse files
GaboFDCpearofducks
authored andcommitted
Pass generate.sh parameters into generate.py
1 parent 95531d4 commit ac2e4f5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Use your favorite plugin manager, or try [vim-plug](https://github.com/junegunn/
4343

4444
*Note: Because of Ansible API changes, `generate.sh` may require the latest (or near-latest) version of Ansible.*
4545

46+
*Note2: `generate.sh` can receive some parameters, for more info see its [Readme](https://github.com/pearofducks/ansible-vim/tree/master/UltiSnips#script-parameters)*
47+
4648
**vundle:** `Plugin 'pearofducks/ansible-vim'`
4749

4850
**pathogen:** `git clone https://github.com/pearofducks/ansible-vim ~/.vim/bundle/ansible-vim`

UltiSnips/generate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ PYTHONPATH="$(dirname "$ANSIBLE_MODULE_LOCATION")"
99
PYTHON_VERSION=$(basename "$(dirname "$PYTHONPATH")")
1010

1111
export PYTHONPATH
12-
exec "$PYTHON_VERSION" generate.py
12+
exec "$PYTHON_VERSION" generate.py $@

0 commit comments

Comments
 (0)