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

@ -2,26 +2,26 @@
hosts: self
roles:
- role: system
tags: system
tags: [system]
- role: bash
tags: bash
tags: [bash, os3]
- role: alacritty
tags: alacritty
tags: [alacritty, os3]
- role: wireguard
tags: wireguard
tags: [wireguard]
- role: asdf
tags: asdf
tags: [asdf]
- role: neovim
tags: neovim
tags: [neovim, os3]
- role: signal
tags: signal
tags: [signal, os3]
- role: virtualbox
tags: virtualbox
tags: [virtualbox]
- role: vscodium
tags: vscodium
tags: [vscodium, os3]
- role: syncthing
tags: syncthing
tags: [syncthing]
- role: strawberry
tags: strawberry
tags: [strawberry]
- role: nicotine
tags: nicotine
tags: [nicotine]

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"