Skip to content

Commit 0ef54ac

Browse files
committed
fix: fix comments
1 parent 83847e7 commit 0ef54ac

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lang/lsp/lsp.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ func (cli *LSPClient) getSemanticTokensRange(ctx context.Context, req DocumentRa
305305
}
306306

307307
func filterSemanticTokensInRange(resp *SemanticTokens, r Range) {
308-
// LSP starts from 0:0 but the project seems to use 1:1 (see collect PositionOffset)
309308
curPos := Position{
310309
Line: 0,
311310
Character: 0,

lang/parse.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ func checkRepoPath(repoPath string, language uniast.Language) (openfile string,
9696
// NOTICE: open the Cargo.toml file is required for Rust projects
9797
openfile, wait = rust.CheckRepo(repoPath)
9898
case uniast.Cxx:
99-
// NOTICE: open the Cargo.toml file is required for Rust projects
10099
openfile, wait = cxx.CheckRepo(repoPath)
101100
default:
102101
openfile = ""

0 commit comments

Comments
 (0)