The improved indentation validation introduced in #92 unfortunately broke tab completion, this will autodetect which to use by doing the following
if there is whitespace at the start of the line before the cursor already, use tabs when that whitespace has a tab char, or vim.o.shiftwidth space chars per indent when that whitespace contains spaces.
If there is no whitespace at the start of the cursor line, use tabs when vim.bo.expandtab is set to false, and the same number of spaces per indent as above when it is set to true
Overall this should be an improvement over prior releases for tabs since it won't rely on copilot correctly detecting and using the right indent char, and will instead force compliance with whichever indentation method your editor is set up to use
The improved indentation validation introduced in #92 unfortunately broke tab completion, this will autodetect which to use by doing the following
Overall this should be an improvement over prior releases for tabs since it won't rely on copilot correctly detecting and using the right indent char, and will instead force compliance with whichever indentation method your editor is set up to use