fix(els): signature help

This commit is contained in:
Shunsuke Shibayama 2023-08-30 04:13:58 +09:00
parent 1332b009b7
commit b746cd38bd
8 changed files with 148 additions and 56 deletions

View file

@ -96,7 +96,7 @@ pub(crate) fn loc_to_pos(loc: erg_common::error::Location) -> Option<Position> {
Some(start)
}
pub fn _pos_to_loc(pos: Position) -> erg_common::error::Location {
pub fn pos_to_loc(pos: Position) -> erg_common::error::Location {
erg_common::error::Location::range(
pos.line + 1,
pos.character.saturating_sub(1),