Lsp-mode: Code lenses aren't properly hidden when narrowing

Created on 24 Jul 2020  路  2Comments  路  Source: emacs-lsp/lsp-mode

If I M-x narrow to defun here with rust-analyzer and lsp-mode showing code lenses, the code lenses from all the other functions in the file are included in the narrowed view. After M-x widen-ing out of the narrowed view, some duplicate lenses are shown.

bug

Most helpful comment

I will take a look.

All 2 comments

@yyoncho Do you know how we can fix that? Maybe disable the lens when narrowing then turning back again when widen? but we would need to manually turn that on and off

I will take a look.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raxod502 picture raxod502  路  5Comments

alanz picture alanz  路  6Comments

josh-janrain picture josh-janrain  路  5Comments

sid-kap picture sid-kap  路  5Comments

xendk picture xendk  路  3Comments