import { InsertTextMode } from "https://deno.land/x/pbkit@v0.0.72/language-server/lsp.ts";
How whitespace and indentation is handled during completion item insertion.
Members
The editor adjusts leading whitespace of new lines so that they match the indentation up to the cursor of the line for which the item is accepted.
Consider a line like this: <2tabs><3tabs>foo. Accepting a multi line completion item is indented using 2 tabs and all following lines inserted will be indented using 2 tabs as well.