|
@@ -21,7 +21,7 @@ M.setup = function()
|
|
-- init_options = {initializationOptions},
|
|
-- init_options = {initializationOptions},
|
|
cmd = {DATA_PATH .. "/lspinstall/efm/efm-langserver"},
|
|
cmd = {DATA_PATH .. "/lspinstall/efm/efm-langserver"},
|
|
init_options = {documentFormatting = true, codeAction = false},
|
|
init_options = {documentFormatting = true, codeAction = false},
|
|
- filetypes = {"html", "css", "yaml", "vue"},
|
|
|
|
|
|
+ filetypes = {"html", "css", "yaml", "vue", "javascript", "javascriptreact", "typescript", "typescriptreact"},
|
|
settings = {
|
|
settings = {
|
|
rootMarkers = {".git/", "package.json"},
|
|
rootMarkers = {".git/", "package.json"},
|
|
languages = {
|
|
languages = {
|
|
@@ -29,7 +29,6 @@ M.setup = function()
|
|
css = {prettier},
|
|
css = {prettier},
|
|
json = {prettier},
|
|
json = {prettier},
|
|
yaml = {prettier}
|
|
yaml = {prettier}
|
|
- -- markdown = {markdownPandocFormat, markdownlint},
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|