Added basic nvim config, replaced vim with nvim

This commit is contained in:
Philipp 2024-03-03 15:33:59 +01:00
parent 624d12439c
commit ea2e6747d9
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
1972 changed files with 126578 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# Symfony
This plugin provides completion for [Symfony](https://symfony.com/).
To use it add symfony to the plugins array in your zshrc file.
```bash
plugins=(... symfony)
```

View file

@ -0,0 +1,13 @@
# symfony basic command completion
_symfony_get_command_list () {
php symfony | sed "1,/Available tasks/d" | awk 'BEGIN { cat=null; } /^[A-Za-z]+$/ { cat = $1; } /^ :[a-z]+/ { print cat $1; }'
}
_symfony () {
if [ -f symfony ]; then
compadd `_symfony_get_command_list`
fi
}
compdef _symfony symfony