Skip to content

Commit 53b81b9

Browse files
authored
Enable air auto-formatting in Positron (#148)
1 parent 6a6b9d5 commit 53b81b9

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ details.*
2020
^LICENSE\.md$
2121
^\.lintr$
2222
air.toml
23+
^[\.]?air\.toml$
24+
^\.vscode$

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"Posit.air-vscode"
4+
]
5+
}

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"[r]": {
3+
"editor.formatOnSave": true,
4+
"editor.defaultFormatter": "Posit.air-vscode"
5+
}
6+
}

0 commit comments

Comments
 (0)