maurobalbi / glas

Apache License 2.0
41 stars 2 forks source link

Text gets appended instead of replaces #15

Closed maurobalbi closed 3 months ago

maurobalbi commented 3 months ago

for example (| is the cursor)

import gleam/|
// this will autocomplete to `gleam/io`, `gleam/otp`...

when i select gleam/io, i'd expect it to have result like this

import gleam/io

instead it gives me this

import gleam/gleam/io