Compare commits
2 Commits
8beb68162f
...
2791906c64
Author | SHA1 | Date |
---|---|---|
Ray Elliott | 2791906c64 | |
Ray Elliott | 45598458e6 |
|
@ -1,11 +1,5 @@
|
|||
|
||||
require("indent_blankline").setup {
|
||||
space_char_blankline = " ",
|
||||
|
||||
show_current_context = true,
|
||||
}
|
||||
|
||||
vim.cmd [[
|
||||
highlight IndentBlanklineChar guifg=#e5e5e5 gui=nocombine
|
||||
highlight IndentBlanklineContextChar guifg=#666666 gui=nocombine
|
||||
]]
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
local null_ls = require("null-ls")
|
||||
|
||||
local sources = {
|
||||
-- -- prettier - using perttierd instead
|
||||
-- null_ls.builtins.formatting.prettier.with({
|
||||
-- extra_filetypes = { "php" },
|
||||
-- prefer_local = "node_modules/.bin",
|
||||
-- }),
|
||||
-- -- prettierd with php
|
||||
-- null_ls.builtins.formatting.prettierd.with({
|
||||
-- extra_filetypes = { "php" },
|
||||
-- }),
|
||||
-- prettierd without php (use phpcbf instead)
|
||||
null_ls.builtins.formatting.prettierd,
|
||||
|
||||
-- phpcs - standards wordpress
|
||||
|
@ -35,12 +25,14 @@ local sources = {
|
|||
condition = function(utils)
|
||||
return not utils.root_has_file({ "vendor/bin/phpcs" })
|
||||
end,
|
||||
args = { "--standard=PSR12", "--report=json", "-s", "-" },
|
||||
}),
|
||||
-- phpcbf
|
||||
null_ls.builtins.formatting.phpcbf.with({
|
||||
condition = function(utils)
|
||||
return not utils.root_has_file({ "vendor/bin/phpcbf" })
|
||||
end,
|
||||
args = { "--standard=PSR12", "--report=json", "-s", "-" },
|
||||
}),
|
||||
|
||||
-- black
|
||||
|
|
Loading…
Reference in New Issue