add more language servers

This commit is contained in:
Matthew Stobbs
2025-02-01 14:13:36 -07:00
parent 35281d9503
commit b83dc78546
6 changed files with 29 additions and 7 deletions

8
tasks/pkgs/nginxls.yml Normal file
View File

@@ -0,0 +1,8 @@
---
- ansible.builtin.include_tasks:
file: pkgs/pipx.yml
when: pkgconfig_pipx is undefined
- name: add to pipxpkgs
ansible.builtin.set_fact:
pipxpkgs: "{{ pipxpkgs + ['nginx-language-server'] }}"

8
tasks/pkgs/pyright.yml Normal file
View File

@@ -0,0 +1,8 @@
---
- ansible.builtin.include_tasks:
file: pkgs/pipx.yml
when: pkgconfig_pipx is undefined
- name: add to pipxpkgs
ansible.builtin.set_fact:
pipxpkgs: "{{ pipxpkgs + ['pyright'] }}"

View File

@@ -0,0 +1,9 @@
---
- name: ensure hashicorp repo is active
ansible.builtin.include_tasks:
file: "pkgs/hashicorp_repo.yml"
when: pkgconfig_hashicorp is undefined
- name: append to pkgs
ansible.builtin.set_fact:
tappkgs: "{{ tappkgs + [ pkgconfig_hashicorp.terraformls[ansible_system] ] }}"

View File

@@ -15,6 +15,9 @@ nomad:
terraform: terraform:
Linux: terraform Linux: terraform
Darwin: hashicorp/tap/terraform Darwin: hashicorp/tap/terraform
terraformls:
Linux: terraform-ls
Darwin: hashicorp/tap/terraform-ls
vault: vault:
Linux: vault Linux: vault
Darwin: hashicorp/tap/vault Darwin: hashicorp/tap/vault

View File

@@ -47,6 +47,7 @@ pkgconfig:
python3: {} python3: {}
rust: {} rust: {}
terraform: {} terraform: {}
terraformls: {}
terrarepo: {} terrarepo: {}
tidy: {} tidy: {}
zfs: {} zfs: {}

View File

@@ -1,7 +0,0 @@
---
Darwin:
pkgs:
- hashicorp/tap/terraform
Linux:
pkgs:
- terraform