summaryrefslogtreecommitdiff
path: root/utils/installer/lv-config.example.lua
diff options
context:
space:
mode:
authorPZ31k0nauT <[email protected]>2021-07-04 18:50:38 +0200
committerGitHub <[email protected]>2021-07-04 12:50:38 -0400
commit7cd58b1228749f72a81ba84c265cafafe47fa5a6 (patch)
treedd32860a91db8f22d085db0cc817190d15f88dc4 /utils/installer/lv-config.example.lua
parent927d5b165e668eb806fe0fa3150c09fc57427120 (diff)
Basics for php lsp (#664)
* Update php.lua * Update default-config.lua * Update lv-config.example.lua
Diffstat (limited to 'utils/installer/lv-config.example.lua')
-rw-r--r--utils/installer/lv-config.example.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua
index 169cfcc8..6910a2cb 100644
--- a/utils/installer/lv-config.example.lua
+++ b/utils/installer/lv-config.example.lua
@@ -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