diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-07-03 18:16:56 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-07-03 18:16:56 +0200 |
| commit | b3a686746016d6267792790640d95f51c8555f88 (patch) | |
| tree | 275a59751c5ca616e4b2adf392afdd1cdab38b16 /lua/alpha | |
| parent | c53728ce447471fdebd41ce7bd72a2e02c37bc18 (diff) | |
| download | nvim-conf-b3a686746016d6267792790640d95f51c8555f88.tar.gz nvim-conf-b3a686746016d6267792790640d95f51c8555f88.zip | |
update servers and null ls
Diffstat (limited to 'lua/alpha')
| -rw-r--r-- | lua/alpha/lsp/null-ls.lua | 6 | ||||
| -rw-r--r-- | lua/alpha/lsp/servers.lua | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lua/alpha/lsp/null-ls.lua b/lua/alpha/lsp/null-ls.lua index 75d8293..3428ec6 100644 --- a/lua/alpha/lsp/null-ls.lua +++ b/lua/alpha/lsp/null-ls.lua @@ -26,9 +26,9 @@ null_ls.setup { }, null_ls.builtins.diagnostics.phpcs.with { method = null_ls.methods.DIAGNOSTICS_ON_SAVE, - -- condition = function(utils) - -- return utils.root_has_file "phpcs.xml" - -- end, + condition = function(utils) + return utils.root_has_file "phpcs.xml" + end, }, null_ls.builtins.formatting.pint, }, diff --git a/lua/alpha/lsp/servers.lua b/lua/alpha/lsp/servers.lua index fefdf28..926ed7e 100644 --- a/lua/alpha/lsp/servers.lua +++ b/lua/alpha/lsp/servers.lua @@ -51,7 +51,7 @@ return { }, hint = { enable = true, - } + }, }, }, } @@ -63,6 +63,11 @@ return { on_attach = lsp_attach, flags = lsp_flags, filetypes = { "php", "cucumber" }, + init_options = { + ["language_server_worse_reflection.inlay_hints.enable"] = true, + -- ["language_server_worse_reflection.inlay_hints.types"] = true, + -- ["language_server_worse_reflection.inlay_hints.params"] = true, + }, } end, ["pyright"] = default, |