This commit is contained in:
Ray Elliott 2022-08-20 12:35:14 +01:00
commit aac456d6d5
4 changed files with 27 additions and 3 deletions

View file

@ -89,7 +89,7 @@ local on_attach = function(client, bufnr)
if client.name == 'tsserver' or client.name == 'intelephense' then
client.resolved_capabilities.document_formatting = false;
print(vim.inspect(client.resolved_capabilities));
-- print(vim.inspect(client.resolved_capabilities));
end
if client.resolved_capabilities.document_formatting then
@ -203,8 +203,8 @@ local sources = {
local has_file = utils.root_has_file({
"node_modules/@wordpress/scripts/config/.eslintrc.js"
})
print("condition")
print(has_file)
-- print("condition")
-- print(has_file)
return has_file
end,
extra_args = {