/** * Status bar: cursor position, language, encoding, indent style, git branch. */ import { Tooltip, TooltipContent, TooltipTrigger } from '@renderer/components/ui/tooltip'; import { useStore } from '@renderer/store'; import { GitBranch } from 'lucide-react'; interface EditorStatusBarProps { line: number; col: number; language: string; } export const EditorStatusBar = ({ line, col, language, }: EditorStatusBarProps): React.ReactElement => { const gitBranch = useStore((s) => s.editorGitBranch); const isGitRepo = useStore((s) => s.editorIsGitRepo); const watcherEnabled = useStore((s) => s.editorWatcherEnabled); return (