Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
jackielii committed Oct 21, 2024
1 parent a9ca1f4 commit db8eb86
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions cmd/templ/lspcmd/proxy/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1277,16 +1277,3 @@ func mapToSymbol(m map[string]interface{}) (interface{}, error) {
}
return s, nil
}

func parserRangeToLspRange(r parser.Range) lsp.Range {
return lsp.Range{
Start: lsp.Position{
Line: r.From.Line,
Character: r.From.Col,
},
End: lsp.Position{
Line: r.To.Line,
Character: r.To.Col,
},
}
}

0 comments on commit db8eb86

Please sign in to comment.