nixpkgs/home/programs/neovim/patches/disable_neoterm_repl.patch
Daniel Siepmann 082ad58af1
Migrate neovim setup
I managed my setup manually.
This commit ports the existing setup to home-manager.

The program module is used to install neovim together with plugins.
Custom plugins are now maintained at Gitea / GitHub and loaded via nix as well.
2022-03-12 11:26:32 +01:00

30 lines
1.2 KiB
Diff

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') |