Need assistance modifying terraform-ls default configuration with LazyVim

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • SonarQube - Static code analysis for 29 languages.
  • neovim

    Vim-fork focused on extensibility and usability

    Basically i am hitting hitting this issue every time i open any file that ends with '*.tfvars'. So i would like to disable terraform-ls on any file that ends with '*.tfvars'. I've found the configuration change that needs to be done here.

  • nvim-lspconfig

    Quickstart configs for Nvim LSP

    If you're trying to change the configuration for the terraformls language server, then your configuration should be defined in the table passed to the require("lspconfig").terraformls.setup function. The default built-in settings for terraformls can be found here, and you can see that you want to overwrite the filetypes settings. You can achieve this by calling the following instead:

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • dotconfig

    💻 Unix Setup

    You can try having a look at LazyVim to see how to config LSP and get used to the Lazy.nvim plugin manager, or even my config, although mine has a lot of abstractions so it may not be too beginner-friendly. Lmk if it's working :D

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts