feat: initial push with a fully separated and organized user configuration for AstroNvim v3
This commit is contained in:
		
							
								
								
									
										12
									
								
								lsp/config/yamlls.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								lsp/config/yamlls.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
-- example for addings schemas to yamlls
 | 
			
		||||
return { -- override table for require("lspconfig").yamlls.setup({...})
 | 
			
		||||
  settings = {
 | 
			
		||||
    yaml = {
 | 
			
		||||
      schemas = {
 | 
			
		||||
        ["http://json.schemastore.org/github-workflow"] = ".github/workflows/*.{yml,yaml}",
 | 
			
		||||
        ["http://json.schemastore.org/github-action"] = ".github/action.{yml,yaml}",
 | 
			
		||||
        ["http://json.schemastore.org/ansible-stable-2.9"] = "roles/tasks/*.{yml,yaml}",
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user