but none of those worked. I still go too much indentation.
js-ts-mode seems to respect indentation correctly. Is there some kind of hook or variable that might not be right to support typescript-ts-mode? I noticed
Is there some kind of hook I'd need to use? The current stock alist tries setting typescript-ts-base-mode, but it seems to not be working.
🙏 Thank you for providing this package to the community. It's really helping me avoid VS Code :D
I use
typescript-ts-mode
for TypeScript (the tree-sitter version, built in to Emacs) and I can't getcopilot-indentation-alist
working correctly.Here's what I see:
On the left, you can see indentation is not 2 spaces, even though on the right
typescript-ts-mode-indent-offset
is2
.I noticed copilot-indentation-alist has these entries by default:
So I tried a few things in my config:
but none of those worked. I still go too much indentation.
js-ts-mode seems to respect indentation correctly. Is there some kind of hook or variable that might not be right to support typescript-ts-mode? I noticed
Is there some kind of hook I'd need to use? The current stock alist tries setting
typescript-ts-base-mode
, but it seems to not be working.🙏 Thank you for providing this package to the community. It's really helping me avoid VS Code :D
Relevant Config