general: move vim autoload to usersettings
This commit is contained in:
parent
c5cab3c075
commit
06a1720e30
|
@ -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
|
||||
|
|
|
@ -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 }}"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue