New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add php runner #1174

Merged
merged 4 commits into from Dec 25, 2017
Jump to file or symbol
Failed to load files and symbols.
+4 −0
Diff settings

Always

Just for now

Next

Add php runner

  • Loading branch information...
wsdjeg committed Dec 25, 2017
commit 06fa1495813f7414c0ed7e821402835d12ec6797
@@ -39,6 +39,7 @@ function! SpaceVim#layers#lang#php#plugins() abort
endfunction
function! SpaceVim#layers#lang#php#config() abort
call SpaceVim#plugins#runner#reg_runner('php', 'php %s')
call SpaceVim#mapping#space#regesit_lang_mappings('php',
\ funcref('s:on_ft'))
if SpaceVim#layers#lsp#check_filetype('php')
@@ -57,4 +58,7 @@ function! s:on_ft() abort
call SpaceVim#mapping#space#langSPC('nnoremap', ['l', 'e'],
\ 'call SpaceVim#lsp#rename()', 'rename symbol', 1)
endif
call SpaceVim#mapping#space#langSPC('nmap', ['l','r'],
\ 'call SpaceVim#plugins#runner#open()',
\ 'execute current file', 1)
endfunction
ProTip! Use n and p to navigate between commits in a pull request.