Skip to content

Commit

Permalink
nvim: add terraform-ls
Browse files Browse the repository at this point in the history
  • Loading branch information
FredeHoey committed Apr 30, 2024
1 parent a8babe6 commit e8fddb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configs/nvim/after/plugin/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ local lsps = {
'lua_ls',
'nixd',
'neocmake',
'terraform-ls',
'pyright',
'rust_analyzer',
}

local nvim_lsp = require('lspconfig')
local client_capabilities = require('cmp_nvim_lsp').default_capabilities()
for _, server in ipairs(lsps) do
require('lspconfig')[server].setup {

nvim_lsp[server].setup {
function(server)
nvim_lsp[server].setup {
capabilities = client_capabilities
Expand Down
1 change: 1 addition & 0 deletions users/bun.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ in {
black
bashdb
docker-compose-language-service
terraform-ls
hadolint
gopls
luajitPackages.lua-lsp
Expand Down

0 comments on commit e8fddb2

Please sign in to comment.