Install clangd language server on Debian
This commit is contained in:
parent
b2cf9ace96
commit
aa2190daec
27
main.yaml
27
main.yaml
@ -2,6 +2,11 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
tasks:
|
||||
- name: Clone minpac repository
|
||||
git:
|
||||
repo: https://github.com/k-takata/minpac.git
|
||||
dest: pack/minpac/opt/minpac
|
||||
|
||||
- name: Install (neo)vim pip packages
|
||||
pip:
|
||||
name: '{{item}}'
|
||||
@ -13,8 +18,20 @@
|
||||
- compdb
|
||||
- vim-vint
|
||||
- yamllint
|
||||
- name: Clone minpac repository
|
||||
git:
|
||||
repo: https://github.com/k-takata/minpac.git
|
||||
dest: pack/minpac/opt/minpac
|
||||
# TODO: Install language servers
|
||||
|
||||
- name: Install (neo)vim apt packages
|
||||
when: ansible_os_family == "Debian"
|
||||
become: true
|
||||
apt:
|
||||
name: '{{item}}'
|
||||
state: latest
|
||||
with_items:
|
||||
- clangd-12
|
||||
- name: Install (neo)vim clangd alternative
|
||||
when: ansible_os_family == "Debian"
|
||||
become: true
|
||||
alternatives:
|
||||
name: clangd
|
||||
path: /usr/bin/clangd-12
|
||||
link: /usr/local/bin/clangd
|
||||
priority: 120
|
||||
|
Loading…
x
Reference in New Issue
Block a user