mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-21 19:24:25 +02:00
Default config reformat (#951)
This commit is contained in:
parent
7f11162bd8
commit
f95e150518
24 changed files with 233 additions and 313 deletions
|
@ -1,8 +1,27 @@
|
|||
local M = {}
|
||||
|
||||
M.config = function()
|
||||
-- TODO: implement config for language
|
||||
return "No config available!"
|
||||
O.lang.php = {
|
||||
format = {
|
||||
format = {
|
||||
default = "psr12",
|
||||
},
|
||||
},
|
||||
environment = {
|
||||
php_version = "7.4",
|
||||
},
|
||||
diagnostics = {
|
||||
virtual_text = { spacing = 0, prefix = "" },
|
||||
signs = true,
|
||||
underline = true,
|
||||
},
|
||||
filetypes = { "php", "phtml" },
|
||||
formatter = {
|
||||
exe = "phpcbf",
|
||||
args = { "--standard=PSR12", vim.api.nvim_buf_get_name(0) },
|
||||
stdin = false,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
M.format = function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue