Browse Source

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

Joan López 4 years ago
parent
commit
a2ba3ce554
1 changed files with 6 additions and 0 deletions
  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\""}}