update
This commit is contained in:
parent
0ce62a3c96
commit
aac456d6d5
4 changed files with 27 additions and 3 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue