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,
 | 
			
		||||
        },
 | 
			
		||||
        terraformls = {},
 | 
			
		||||
        pyright = {
 | 
			
		||||
          capabilities = {
 | 
			
		||||
            textDocument = {
 | 
			
		||||
| 
						 | 
				
			
			@ -772,6 +773,7 @@ require('lazy').setup({
 | 
			
		|||
        'shellcheck',
 | 
			
		||||
        'stylua',
 | 
			
		||||
        'taplo',
 | 
			
		||||
        'terraform-ls',
 | 
			
		||||
        'tflint',
 | 
			
		||||
        'yaml-language-server',
 | 
			
		||||
        'yamlfix',
 | 
			
		||||
| 
						 | 
				
			
			@ -824,7 +826,7 @@ require('lazy').setup({
 | 
			
		|||
      end,
 | 
			
		||||
      formatters_by_ft = {
 | 
			
		||||
        bash = { 'shellcheck' },
 | 
			
		||||
        hcl = { 'fmt' },
 | 
			
		||||
        hcl = { 'hclfmt' },
 | 
			
		||||
        go = { 'goimports', 'gofumpt' },
 | 
			
		||||
        lua = { 'stylua' },
 | 
			
		||||
        -- Conform can also run multiple formatters sequentially
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue