diff --git a/src/components/ChatInput.tsx b/src/components/ChatInput.tsx index da6bfc5..927e559 100644 --- a/src/components/ChatInput.tsx +++ b/src/components/ChatInput.tsx @@ -92,7 +92,7 @@ export function ChatInput({ onSend, onAbort, isGenerating, disabled, sessionKey const [files, setFiles] = useState([]); const [isDragOver, setIsDragOver] = useState(false); const [showPreview, setShowPreview] = useState(() => localStorage.getItem('pinchchat-md-preview') === '1'); - const [highlightEnabled, setHighlightEnabled] = useState(() => localStorage.getItem('pinchchat-syntax-hl') !== '0'); + const [highlightEnabled, setHighlightEnabled] = useState(() => localStorage.getItem('pinchchat-syntax-hl') === '1'); const textareaRef = useRef(null); const fileInputRef = useRef(null);