chore: add terraform-ls to lazy
Add terraform-ls to lazy to enable terraform language server support. change hclfmt to terraform-ls for hcl files.
This commit is contained in:
		
							parent
							
								
									297c0c65f4
								
							
						
					
					
						commit
						21d9284c81
					
				
							
								
								
									
										4
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										4
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -676,6 +676,7 @@ require('lazy').setup({
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          semanticTokens = true,
 | 
					          semanticTokens = true,
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
					        terraformls = {},
 | 
				
			||||||
        pyright = {
 | 
					        pyright = {
 | 
				
			||||||
          capabilities = {
 | 
					          capabilities = {
 | 
				
			||||||
            textDocument = {
 | 
					            textDocument = {
 | 
				
			||||||
| 
						 | 
					@ -772,6 +773,7 @@ require('lazy').setup({
 | 
				
			||||||
        'shellcheck',
 | 
					        'shellcheck',
 | 
				
			||||||
        'stylua',
 | 
					        'stylua',
 | 
				
			||||||
        'taplo',
 | 
					        'taplo',
 | 
				
			||||||
 | 
					        'terraform-ls',
 | 
				
			||||||
        'tflint',
 | 
					        'tflint',
 | 
				
			||||||
        'yaml-language-server',
 | 
					        'yaml-language-server',
 | 
				
			||||||
        'yamlfix',
 | 
					        'yamlfix',
 | 
				
			||||||
| 
						 | 
					@ -824,7 +826,7 @@ require('lazy').setup({
 | 
				
			||||||
      end,
 | 
					      end,
 | 
				
			||||||
      formatters_by_ft = {
 | 
					      formatters_by_ft = {
 | 
				
			||||||
        bash = { 'shellcheck' },
 | 
					        bash = { 'shellcheck' },
 | 
				
			||||||
        hcl = { 'fmt' },
 | 
					        hcl = { 'hclfmt' },
 | 
				
			||||||
        go = { 'goimports', 'gofumpt' },
 | 
					        go = { 'goimports', 'gofumpt' },
 | 
				
			||||||
        lua = { 'stylua' },
 | 
					        lua = { 'stylua' },
 | 
				
			||||||
        -- Conform can also run multiple formatters sequentially
 | 
					        -- Conform can also run multiple formatters sequentially
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue