From 95e57c8c7be9ed5dc62becaba6463fd257293748 Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 14 Nov 2018 02:37:07 +0100 Subject: [PATCH] fix syntax hightlighting of change_prompt.rb let's try to avoid exotic heredoc syntax that GitHub and multiple editors cannot support, the only confirmed editor that supports highlighting this syntax so far is 'emacs'. it is not friendly to non-emacs users to have to deal with broken syntax highlighting, especially when there is a less exotic and easier syntax available. --- lib/pry/commands/change_prompt.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/pry/commands/change_prompt.rb b/lib/pry/commands/change_prompt.rb index 68ae0af0..85696734 100644 --- a/lib/pry/commands/change_prompt.rb +++ b/lib/pry/commands/change_prompt.rb @@ -35,10 +35,8 @@ class Pry::Command::ChangePrompt < Pry::ClassCommand if Pry::Prompt.all.key?(prompt) _pry_.prompt = Pry::Prompt.all[prompt][:value] else - raise(Pry::CommandError, <