Basics for php lsp (#664)

* Update php.lua

* Update default-config.lua

* Update lv-config.example.lua
This commit is contained in:
PZ31k0nauT 2021-07-04 18:50:38 +02:00 committed by GitHub
parent 927d5b165e
commit 7cd58b1228
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 4 deletions

View file

@ -87,7 +87,14 @@ O.lang.rust.autoformat = true
-- clang
O.lang.clang.autoformat = false -- Set to true to enable auto-format in C/C++ files.
-- php
O.lang.php.format.braces = "k&r" -- options: psr12, allman, k&r
O.lang.php.environment.php_version = "7.4"
-- TODO: autoformat seems not to work at the moment
O.lang.php.autoformat = false
O.lang.php.diagnostics.signs = true
O.lang.php.diagnostics.underline = true
O.lang.php.filetypes = { "php", "phtml" }
-- TODO Autocommands
-- https://neovim.io/doc/user/autocmd.html