Compare commits

...

2 Commits

Author SHA1 Message Date
b1b24ba1ed
Somewhat magical symfony completion 2024-05-20 11:31:15 -04:00
d4e51b6cd2
Do C style goop 2024-05-20 11:30:26 -04:00
2 changed files with 9 additions and 2 deletions

2
vimrc
View File

@ -82,6 +82,8 @@ augroup black_on_save
autocmd BufWritePre *.py Black autocmd BufWritePre *.py Black
augroup end augroup end
autocmd BufNewFile,BufRead *.c set formatprg=astyle\ -t4\ -A14
let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*'] let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
let g:coc_global_extensions = ['coc-tsserver'] let g:coc_global_extensions = ['coc-tsserver']

7
zshrc
View File

@ -104,6 +104,7 @@ plugins=(
rsync rsync
ruby ruby
rust rust
symfony-complete
tmux tmux
vagrant vagrant
vault vault
@ -252,12 +253,16 @@ if nvm &>/dev/null; then
nvm use --delete-prefix 20 --silent nvm use --delete-prefix 20 --silent
fi fi
if kitty --version &>/dev/null; then
autoload -Uz compinit autoload -Uz compinit
compinit compinit
if kitty --version &>/dev/null; then
kitty + complete setup zsh | source /dev/stdin kitty + complete setup zsh | source /dev/stdin
fi fi
compdef _symfony_complete composer
compdef _symfony_complete dep
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh