mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 10:05:37 +02:00
Basics for php lsp (#664)
* Update php.lua * Update default-config.lua * Update lv-config.example.lua
This commit is contained in:
parent
927d5b165e
commit
7cd58b1228
3 changed files with 46 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue