I use windsurf and to support not just line numbers but also a column number,
I've set my Semantic History command to this:
~/.codeium/windsurf/bin/windsurf -g \1:\2:\(semanticHistory.columnNumber)