diff options
Diffstat (limited to 'lua/lspconfig/html.lua')
| -rw-r--r-- | lua/lspconfig/html.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lua/lspconfig/html.lua b/lua/lspconfig/html.lua index 095d70bf..120139da 100644 --- a/lua/lspconfig/html.lua +++ b/lua/lspconfig/html.lua @@ -1,22 +1,22 @@ -local configs = require "lspconfig/configs" -local util = require "lspconfig/util" +local configs = require 'lspconfig/configs' +local util = require 'lspconfig/util' -local server_name = "html" -local bin_name = "vscode-html-language-server" +local server_name = 'html' +local bin_name = 'vscode-html-language-server' -local root_pattern = util.root_pattern "package.json" +local root_pattern = util.root_pattern 'package.json' configs[server_name] = { default_config = { - cmd = { bin_name, "--stdio" }, - filetypes = { "html" }, + cmd = { bin_name, '--stdio' }, + filetypes = { 'html' }, root_dir = function(fname) return root_pattern(fname) or vim.loop.os_homedir() end, settings = {}, init_options = { embeddedLanguages = { css = true, javascript = true }, - configurationSection = { "html", "css", "javascript" }, + configurationSection = { 'html', 'css', 'javascript' }, }, }, docs = { |
