update
This commit is contained in:
parent
807ca0259a
commit
7434003b37
4 changed files with 81 additions and 1 deletions
|
|
@ -40,6 +40,7 @@ local on_attach = function(client, bufnr)
|
|||
local function buf_set_keymap(...)
|
||||
vim.api.nvim_buf_set_keymap(bufnr, ...)
|
||||
end
|
||||
|
||||
local function buf_set_option(...)
|
||||
vim.api.nvim_buf_set_option(bufnr, ...)
|
||||
end
|
||||
|
|
@ -154,7 +155,7 @@ local sources = {
|
|||
-- in project directory must
|
||||
-- composer require friendsofphp/php-cs-fixer
|
||||
-- as in https://github.com/FriendsOfPHP/PHP-CS-Fixer
|
||||
-- I think os anyway - not totally sure any more
|
||||
-- I think so anyway - not totally sure any more
|
||||
null_ls.builtins.diagnostics.phpcs.with({
|
||||
condition = function(utils)
|
||||
return utils.root_has_file({"vendor/bin/phpcs"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue