add terraform language server
This commit is contained in:
parent
c0ee34bb94
commit
e969ba230b
4 changed files with 18 additions and 16 deletions
|
@ -2,26 +2,26 @@
|
||||||
hosts: self
|
hosts: self
|
||||||
roles:
|
roles:
|
||||||
- role: system
|
- role: system
|
||||||
tags: system
|
tags: [system]
|
||||||
- role: bash
|
- role: bash
|
||||||
tags: bash
|
tags: [bash, os3]
|
||||||
- role: alacritty
|
- role: alacritty
|
||||||
tags: alacritty
|
tags: [alacritty, os3]
|
||||||
- role: wireguard
|
- role: wireguard
|
||||||
tags: wireguard
|
tags: [wireguard]
|
||||||
- role: asdf
|
- role: asdf
|
||||||
tags: asdf
|
tags: [asdf]
|
||||||
- role: neovim
|
- role: neovim
|
||||||
tags: neovim
|
tags: [neovim, os3]
|
||||||
- role: signal
|
- role: signal
|
||||||
tags: signal
|
tags: [signal, os3]
|
||||||
- role: virtualbox
|
- role: virtualbox
|
||||||
tags: virtualbox
|
tags: [virtualbox]
|
||||||
- role: vscodium
|
- role: vscodium
|
||||||
tags: vscodium
|
tags: [vscodium, os3]
|
||||||
- role: syncthing
|
- role: syncthing
|
||||||
tags: syncthing
|
tags: [syncthing]
|
||||||
- role: strawberry
|
- role: strawberry
|
||||||
tags: strawberry
|
tags: [strawberry]
|
||||||
- role: nicotine
|
- role: nicotine
|
||||||
tags: nicotine
|
tags: [nicotine]
|
||||||
|
|
|
@ -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)
|
vim.keymap.set('n', '<leader>f', function() vim.lsp.buf.format { async = true } end, bufopts)
|
||||||
end
|
end
|
||||||
|
|
||||||
require("lspconfig").pylsp.setup{
|
require("lspconfig").pylsp.setup{ on_attach = on_attach }
|
||||||
on_attach = on_attach
|
|
||||||
}
|
require'lspconfig'.terraformls.setup{ on_attach = on_attach }
|
||||||
|
|
|
@ -44,3 +44,6 @@
|
||||||
pip:
|
pip:
|
||||||
name:
|
name:
|
||||||
- "python-lsp-server[all]"
|
- "python-lsp-server[all]"
|
||||||
|
- name: Install terraform-ls
|
||||||
|
apt:
|
||||||
|
pkg: terraform-ls
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
- tree
|
- tree
|
||||||
- wireshark
|
- wireshark
|
||||||
- units
|
- units
|
||||||
- imagemagick
|
|
||||||
- name: Install .gitconfig
|
- name: Install .gitconfig
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/templates/.gitconfig.j2"
|
src: "{{ role_path }}/templates/.gitconfig.j2"
|
||||||
|
|
Reference in a new issue