general: move vim autoload to usersettings

This commit is contained in:
Jannik Beyerstedt 2019-10-27 22:34:31 +01:00
parent c5cab3c075
commit 06a1720e30
4 changed files with 11 additions and 29 deletions

View File

@ -28,7 +28,7 @@ For a GUI/ Desktop machine, you can enable to install and configure VS Code:
- `user_lang_python`: Boolean to install Python dev tools and configure VS Code
- `user_lang_golang`: Boolean to install Golang dev tools and configure VS Code
The `user_lang_*` switches will also install the language onyl, if `user_vscode` is set to false.
The `user_lang_*` switches will also install the language only, if `user_vscode` is set to false.
Dependencies

View File

@ -36,6 +36,16 @@
- { src: '{{ role_path }}/files/dotfiles/_gitconfig', dest: '.gitconfig' }
when: usersetup_gitconfig == true
- name: usersettings - Create .vim directory
file:
path: .vim/autoload
state: directory
- name: usersettings - Install vim plugin manager
get_url:
url: https://tpo.pe/pathogen.vim
dest: .vim/autoload/pathogen.vim
- name: usersettings - Install vim plugins
git:
repo: "{{ item.repo }}"

View File

@ -16,20 +16,6 @@
when:
- common_usersetup.stat.exists == false and usersetup_chsh == true
- name: usersetup - Create .vim directory
file:
path: .vim/autoload
state: directory
when:
- common_usersetup.stat.exists == false
- name: usersetup - Install vim plugin manager
get_url:
url: https://tpo.pe/pathogen.vim
dest: .vim/autoload/pathogen.vim
when:
- common_usersetup.stat.exists == false
- name: usersetup - Create lockfile
file:
path: .ansbl-common-usersetup

View File

@ -16,20 +16,6 @@
when:
- common_usersetup.stat.exists == false and usersetup_chsh == true
- name: usersetup - Create .vim directory
file:
path: .vim/autoload
state: directory
when:
- common_usersetup.stat.exists == false
- name: usersetup - Install vim plugin manager
get_url:
url: https://tpo.pe/pathogen.vim
dest: .vim/autoload/pathogen.vim
when:
- common_usersetup.stat.exists == false
- name: usersetup - Setup locale en_US
become: yes
locale_gen: