vscode-nim icon indicating copy to clipboard operation
vscode-nim copied to clipboard

wrong indentation sometimes

Open jabbalaci opened this issue 7 years ago • 1 comments

In my settings.json I have these lines:

"[nim]":  {
        "editor.insertSpaces": true,
        "editor.tabSize": 2
    },

However, sometimes when I hit the TAB button, the editor indents 4 spaces instead of 2. It happens rarely though. Closing and re-opening the file usually solves the problem. I don't know if it's VS Code or the plugin.

jabbalaci avatar Oct 10 '18 05:10 jabbalaci

I'm having a similar problem. I have the same setting as you, except that I get 4 or even 6 spaces of indentation occasionally, and then two every single time afterward. Not sure what's causing this.

arnavb avatar Feb 17 '19 18:02 arnavb