add terraform language server

This commit is contained in:
Pim Kunis 2023-01-23 14:02:52 +01:00
parent c0ee34bb94
commit e969ba230b
4 changed files with 18 additions and 16 deletions

View file

@ -32,6 +32,6 @@ local on_attach = function(client, bufnr)
vim.keymap.set('n', '<leader>f', function() vim.lsp.buf.format { async = true } end, bufopts)
end
require("lspconfig").pylsp.setup{
on_attach = on_attach
}
require("lspconfig").pylsp.setup{ on_attach = on_attach }
require'lspconfig'.terraformls.setup{ on_attach = on_attach }

View file

@ -44,3 +44,6 @@
pip:
name:
- "python-lsp-server[all]"
- name: Install terraform-ls
apt:
pkg: terraform-ls

View file

@ -15,7 +15,6 @@
- tree
- wireshark
- units
- imagemagick
- name: Install .gitconfig
template:
src: "{{ role_path }}/templates/.gitconfig.j2"