nvim_runtime_lua

lsp.InsertTextMode

(alias) lsp.InsertTextMode =
| 1 # asIs
| 2 # adjustIndentation

How whitespace and indentation is handled during completion item insertion.