nixpkgs/home/programs/neovim/patches/disable_neoterm_repl.patch

30 lines
1.2 KiB
Diff
Raw Normal View History

diff --git a/ftdetect/set_repl_cmd.vim b/ftdetect/set_repl_cmd.vim
index db6f819..08193ed 100644
--- a/ftdetect/set_repl_cmd.vim
+++ b/ftdetect/set_repl_cmd.vim
@@ -81,15 +81,15 @@ if has('nvim') || has('terminal')
\ elseif executable('ghci') |
\ call neoterm#repl#set('ghci') |
\ end
- au FileType php
- \ let s:argList = split(g:neoterm_repl_php) |
- \ if len(s:argList) > 0 && executable(s:argList[0]) |
- \ call neoterm#repl#set(g:neoterm_repl_php) |
- \ elseif executable('psysh') |
- \ call neoterm#repl#set('psysh') |
- \ elseif executable('php') |
- \ call neoterm#repl#set('php -a') |
- \ end
+ " au FileType php
+ " \ let s:argList = split(g:neoterm_repl_php) |
+ " \ if len(s:argList) > 0 && executable(s:argList[0]) |
+ " \ call neoterm#repl#set(g:neoterm_repl_php) |
+ " \ elseif executable('psysh') |
+ " \ call neoterm#repl#set('psysh') |
+ " \ elseif executable('php') |
+ " \ call neoterm#repl#set('php -a') |
+ " \ end
" Clojure
au FileType clojure
\ if executable('lein') |