complete neovim 0.12 compatibility audit
This commit is contained in:
parent
f6a1c8640c
commit
ec7f6c8121
8 changed files with 45 additions and 28 deletions
|
|
@ -52,8 +52,8 @@ return {
|
|||
-- Note: This runs once at config load, checks cwd for phpcs.xml
|
||||
local cwd = vim.fn.getcwd()
|
||||
local has_project_ruleset =
|
||||
vim.loop.fs_stat(cwd .. "/phpcs.xml")
|
||||
or vim.loop.fs_stat(cwd .. "/phpcs.xml.dist")
|
||||
vim.uv.fs_stat(cwd .. "/phpcs.xml")
|
||||
or vim.uv.fs_stat(cwd .. "/phpcs.xml.dist")
|
||||
|
||||
local phpcs_args = { "-q", "--report=json" }
|
||||
if not has_project_ruleset then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue