File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2121 (sh-indentation . 4 )))
2222 (awk-mode . ((c-basic-offset . 8 )))
2323 (nil . ((indent-tabs-mode . nil )
24- (tab-width . 8 )
24+ (tab-width . 4 )
2525 (fill-column . 79 ))) )
Original file line number Diff line number Diff line change 1- " Vim can use per directory configuration files like this.
1+ " Vim can use per directory configuration files like this.
22" To enable that feature two lines are needed in your ~/.vimrc
33" set exrc " enables per-directory .vimrc files
44" set secure " disable unsafe commands in local .vimrc files
55" Characters width is set to 109 for .c and XML but for everything else 79.
6- " If you update this file make sure to update .dir-locals.el & .editorconfig
6+ " If you update this file make sure to update .dir-locals.el & .editorconfig
77
8- set tabstop = 8
9- set shiftwidth = 8
8+ set tabstop = 4
9+ set shiftwidth = 4
1010set expandtab
1111set makeprg = GCC_COLORS= \ make
1212set tw = 79
1313au BufRead ,BufNewFile *.xml set tw = 109 shiftwidth = 2 smarttab
1414au FileType sh set tw = 80 shiftwidth = 4 smarttab
15- au FileType c set tw = 109
15+ au FileType c set tw = 109 shiftwidth = 8 tabstop = 8 smarttab expandtab
You can’t perform that action at this time.
0 commit comments