diff --git a/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr b/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr index fe7b3db..7fa997f 100644 --- a/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr +++ b/config/automatrop/host_vars/curacao.geoffrey.frogeye.fr @@ -4,6 +4,7 @@ dev_stuffs: - ansible - docker - network + - perl - php - python - shell diff --git a/config/automatrop/host_vars/gho.geoffrey.frogeye.fr b/config/automatrop/host_vars/gho.geoffrey.frogeye.fr index 0fb38cb..4b885a1 100644 --- a/config/automatrop/host_vars/gho.geoffrey.frogeye.fr +++ b/config/automatrop/host_vars/gho.geoffrey.frogeye.fr @@ -4,6 +4,7 @@ dev_stuffs: - shell - network - ansible + - perl - python extensions: - gh diff --git a/config/automatrop/roles/software/templates/snippets/pm_dev_perl.j2 b/config/automatrop/roles/software/templates/snippets/pm_dev_perl.j2 new file mode 100644 index 0000000..7349969 --- /dev/null +++ b/config/automatrop/roles/software/templates/snippets/pm_dev_perl.j2 @@ -0,0 +1,3 @@ +{% if arch_based %} +perl-perl-languageserver +{% endif %} diff --git a/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 b/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 index 187810d..afc236a 100644 --- a/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 +++ b/config/automatrop/roles/vim/templates/plugins/nvim_lspconfig.j2 @@ -40,6 +40,9 @@ end -- Use a loop to conveniently call 'setup' on multiple servers and -- map buffer local keybindings when the language server attaches local servers = { +{% if 'perl' in dev_stuffs %} + "perlls", +{% endif %} {% if 'python' in dev_stuffs %} "pylsp", {% endif %}