html lsp
This commit is contained in:
		@@ -88,6 +88,22 @@ require('mason-lspconfig').setup_handlers {
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  end,
 | 
					  end,
 | 
				
			||||||
 | 
					  ['html'] = function()
 | 
				
			||||||
 | 
					    require('lspconfig')['html'].setup {
 | 
				
			||||||
 | 
					      on_attach = on_attach,
 | 
				
			||||||
 | 
					      flags = lsp_flags,
 | 
				
			||||||
 | 
					      cmd = { "html-languageserver", "--stdio" },
 | 
				
			||||||
 | 
					      filetypes = { "html" },
 | 
				
			||||||
 | 
					      init_options = {
 | 
				
			||||||
 | 
					        configurationSection = { "html", "css", "javascript" },
 | 
				
			||||||
 | 
					        embeddedLanguages = {
 | 
				
			||||||
 | 
					          css = true,
 | 
				
			||||||
 | 
					          javascript = true
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					      settings = {}
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  end,
 | 
				
			||||||
  ['yamlls'] = function()
 | 
					  ['yamlls'] = function()
 | 
				
			||||||
    require('lspconfig')["yamlls"].setup {
 | 
					    require('lspconfig')["yamlls"].setup {
 | 
				
			||||||
      on_attach = on_attach,
 | 
					      on_attach = on_attach,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user