Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

thefish/neovim-go-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neovim golang and php config

This is an early aplha - but the time to move from vim 7.x has come.

Requirements: 
 - neovim >= 0.3.*
 - ack-grep
 - fzf (tries to be installed automatically)

 What fails:    
- Deoplete on PHP works strange in some cases
- Python, CPP support missing

Install

git clone https://github.com/thefish/neovim-go-php.git ~/.config/nvim

After than run

~/.config/nvim/vim-plug.sh      

then

vi
:PlugInstall

Setup

Rebuild vim-polyglot

cd ~/.config/nvim/plugged/vim-polyglot
./build

then

vi
:GoInstallBinaries

Run

To start deopleting - create file .phpcd.vim ith content like this:

let g:phpcd_autoload_path='vendor/autoload.php'

file contains path to autoload files generated by composer.

Tips & Tricks

  • Find usages - Shift+3 on word, then :Ack
  • Find file in project - :NERDTreeFind while file is open
  • Disable tag generation - :> .notags in project root folder

Releases

No releases published

Packages

No packages published