From 4835c57175b57855d41a00189183f63bb7eaa7c1 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 21 Jan 2020 15:15:17 +0100 Subject: [PATCH] Remove syntax highlight, it's broken! --- mods/readline.ps1 | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mods/readline.ps1 b/mods/readline.ps1 index 2ad2b34..98a9b85 100644 --- a/mods/readline.ps1 +++ b/mods/readline.ps1 @@ -12,16 +12,3 @@ Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete Set-PSReadlineKeyHandler "Shift+SpaceBar" -ScriptBlock { [Microsoft.Powershell.PSConsoleReadLine]::Insert(' ') } - -# Syntax highlighting! -If ($PSEdition -eq "Core") { - Set-PSReadlineOption -Colors @{ - Type = "`e[38;5;85m"; - String = "`e[38;5;130m"; - Number = "`e[38;5;220m"; - Variable = "`e[38;5;191m"; - Command = "`e[38;5;117m"; - Operator = "`e[38;5;213m"; - Parameter = "`e[38;5;239m"; - } -}