I've a custom function SortParagraph mapped to a key binding.
This sorted different then php-cs-fixer.
I've switched from neovim built-in sort to command line sort of gnuutils
which sorts the same expected way by default.
This is done by not calling a neovim command but command line program
via "!".
Telescope no longer provides LSP code actions.
I add a mapping to trigger code actions.
I also ensure that I don't have to wait for phpactor menu.
And I didn't use hover anyway.
The keyboard shortcut was already in use.
I therefore renamed custom_functions into custom runs.
That way I can add multiple things in the future.
E.g. the items to select can also be a table which defines the name as
well as what to execute. That way I could add functions, commands and
other things.
Use omni after more specific completions.
Add buffer to completion, not as fallback. I often wanna complete from
current buffer.
Keep syntax consistent when requiring lua modules.
Finally a fast none disturbing auto completion.
lsp_signature_nvim is kept as it provides info while filling in
arguments.
cmp lsp didn't work in my case, so didn't add it.
Not sure if I'll settle on that. I'm currently used to mycli and
litecli.
But sounds useful to have it within the editor to not have different
programs with different configuration and behaviour.
Still use menu like default.
Do not show preview as in default.
Do not insert as in default.
Do not select as in default.
This allows me to see suggestions but continue typing to narrow down.
Also allows me to manually select a result.
That way completion is out of my way but there to support me.
Add for PHP via existing phpactor as server.
Use new signature plugin for proper none irritating inline help during
function calls.
TODO: Get rid of preview window showing up …
Remove the paratest detection.
I consider paratest only for CI and executing a huge set of tests.
But I use vim-test only to execute a single test file or single test.