浏览代码

fixed missing format setting for php language. (#727)

Joan López 4 年之前
父节点
当前提交
a2ba3ce554
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      utils/installer/lv-config.example.lua

+ 6 - 0
utils/installer/lv-config.example.lua

@@ -65,6 +65,12 @@ O.lang.php.environment.php_version = "7.4"
 O.lang.php.diagnostics.signs = true
 O.lang.php.diagnostics.underline = true
 O.lang.php.filetypes = {"php", "phtml"}
+O.lang.php.format = {
+  format = {
+    default = "psr12"
+  }
+}
+
 
 -- Autocommands (https://neovim.io/doc/user/autocmd.html)
 -- O.user_autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}}