Skip to content

Commit

Permalink
Tab settings for vim
Browse files Browse the repository at this point in the history
Tab and curly bracket settings for vscode

I am not an emacs user, so I will let @stronnag add his .emacs file

Should help address #9173
  • Loading branch information
mmosca committed Aug 6, 2023
1 parent fd59159 commit bdad86c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
__pycache__
startup_stm32f10x_md_gcc.s
.vagrant/
.vscode/
#.vscode/
cov-int*
/build/
/obj/
Expand All @@ -31,3 +31,4 @@ README.pdf

# local changes only
make/local.mk
launch.json
9 changes: 9 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
filetype on
filetype indent on

set expandtab
set bs=2
set sw=4
set ts=4


13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"files.associations": {
"chrono": "c",
"cmath": "c",
"ranges": "c"
},
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.expandTabs": true,
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block": "sameLine",
"C_Cpp.vcFormat.newLine.beforeOpenBrace.function": "newLine"
}

0 comments on commit bdad86c

Please sign in to comment.