Remove neovim-specific things from vim role

This commit is contained in:
flyingscorpio@clevo 2022-07-25 12:24:25 +02:00
parent d809b31895
commit 568c5daf10
3 changed files with 2 additions and 32 deletions

View file

@ -76,7 +76,7 @@
when: colors_dir.stat.exists and colors_dir.stat.islnk
- name: Copy configs
copy: src={{ item.src }} dest={{ item.dest }}
copy: src={{ item.src }} dest={{ item.dest }} mode=0644
with_items:
- {src: 'init.vim', dest: '~/.config/nvim/init.vim'}
- {src: 'flake8', dest: '~/.flake8'}

View file

@ -1,6 +0,0 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
let g:python3_host_prog = '/usr/bin/python3'
let g:vimtex_compiler_progname = 'nvr'
tnoremap <Esc> <C-\><C-n>

View file

@ -4,8 +4,6 @@
pacman:
name:
- vim
- python-pynvim
- neovim
- python-pylint
- python-black
- ansible-lint
@ -15,7 +13,6 @@
- shellcheck
- cmake
- clang
- npm
when:
ansible_facts['distribution'] == 'Archlinux'
@ -24,8 +21,6 @@
apt:
name:
- vim
- python3-pynvim
- neovim
- build-essential
- python3-dev
- pylint3
@ -35,7 +30,6 @@
- shellcheck
- cmake
- clang
- npm
when:
ansible_facts['distribution'] == 'Debian'
@ -46,23 +40,6 @@
when: ansible_facts['distribution'] == 'Archlinux'
changed_when: "'there is nothing to do' not in shellcheck_script.stdout"
- name: Install neovim with pip for Debian
pip:
name: neovim
extra_args: --user
when:
ansible_facts['distribution'] == 'Debian'
- name: Install neovim-remote
pip:
name: neovim-remote
extra_args: --user
- name: Make sure ~/.config/nvim/ directory exists
file:
path: ~/.config/nvim
state: directory
- name: Check if colors is a symlink
stat:
path: ~/.vim/colors
@ -76,9 +53,8 @@
when: colors_dir.stat.exists and colors_dir.stat.islnk
- name: Copy configs
copy: src={{ item.src }} dest={{ item.dest }}
copy: src={{ item.src }} dest={{ item.dest }} mode=0644
with_items:
- {src: 'init.vim', dest: '~/.config/nvim/init.vim'}
- {src: 'flake8', dest: '~/.flake8'}
- {src: 'pylintrc', dest: '~/.pylintrc'}
- {src: 'vimrc', dest: '~/.vimrc'}