vim: Fix YCM compilation
This commit is contained in:
6
user.yml
6
user.yml
@@ -312,9 +312,13 @@
|
|||||||
changed_when: vim_plugins_stdout.stdout_lines|length != 0
|
changed_when: vim_plugins_stdout.stdout_lines|length != 0
|
||||||
|
|
||||||
- name: compile youcompleteme
|
- name: compile youcompleteme
|
||||||
|
# --force-sudo is required, as the script refuses to run
|
||||||
|
# in a sudo environment (i.e. if the SUDO_USER env variable
|
||||||
|
# is set). But of course, ansible uses that to assume the
|
||||||
|
# other user. It's fine.
|
||||||
shell: |
|
shell: |
|
||||||
cd ~/.local/share/nvim/plugged/YouCompleteMe/
|
cd ~/.local/share/nvim/plugged/YouCompleteMe/
|
||||||
python3 ./install.py # --go-completer
|
python3 ./install.py --force-sudo
|
||||||
args:
|
args:
|
||||||
creates: ~/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/ycm_core.so
|
creates: ~/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/ycm_core.so
|
||||||
when: vim_plugins_stdout.stdout_lines|length != 0 or true
|
when: vim_plugins_stdout.stdout_lines|length != 0 or true
|
||||||
|
|||||||
Reference in New Issue
Block a user