Skip to content

Commit 78312ef

Browse files
committed
Update files based on submodule changes
1 parent 511c308 commit 78312ef

File tree

3 files changed

+50
-14
lines changed

3 files changed

+50
-14
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ Entries under the **Removed** section indicate items removed from the entire doc
1010

1111
## Unreleased
1212

13+
## 2025-03-31
14+
15+
### Changed
16+
17+
- changed(neovim): remove redundant expandtab from one augroup
18+
19+
### Added
20+
21+
- added(nvim): autocmd for *.sln, *.csproj, and vim; wrap autocmd in augroup
22+
1323
## 2025-03-26
1424

1525
### Changed

includes/neovim-init-files/neovim-init-non-vim-plug.vim

+20-7
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,25 @@ set fixendofline " Ensures a newline at the end of the file, if endofline is
1515
set colorcolumn=92 " Set a colored line at column 88 in every row.
1616

1717
"" Filetype-specific configurations.
18-
autocmd Filetype markdown,text,csv setlocal colorcolumn=0
19-
autocmd Filetype java setlocal colorcolumn=100
20-
autocmd Filetype cs setlocal colorcolumn=120
21-
" As recommended by the luarocks Style Guide:
22-
" https://github.com/luarocks/lua-style-guide/blob/master/README.md
23-
autocmd Filetype lua setlocal tabstop=3 shiftwidth=3 softtabstop=3
24-
autocmd Filetype html,css,vue,javascript,typescript setlocal colorcolumn=100 tabstop=2 shiftwidth=2 softtabstop=2
18+
augroup FiletypeConfigs
19+
autocmd!
20+
autocmd Filetype markdown,text,csv setlocal colorcolumn=0
21+
autocmd Filetype java setlocal colorcolumn=100
22+
autocmd Filetype cs setlocal colorcolumn=120
23+
" As recommended by the luarocks Style Guide:
24+
" https://github.com/luarocks/lua-style-guide/blob/master/README.md
25+
autocmd Filetype lua setlocal tabstop=3 shiftwidth=3 softtabstop=3
26+
autocmd Filetype html,css,vue,javascript,typescript setlocal colorcolumn=100 tabstop=2 shiftwidth=2 softtabstop=2
27+
autocmd Filetype vim setlocal tabstop=2 shiftwidth=2 softtabstop=2
28+
augroup END
29+
augroup CsprojSettings
30+
autocmd!
31+
autocmd BufRead,BufNewFile *.csproj setlocal tabstop=2 shiftwidth=2 softtabstop=2
32+
augroup END
33+
augroup SlnSettings
34+
autocmd!
35+
autocmd BufRead,BufNewFile *.sln setlocal tabstop=4 shiftwidth=4
36+
augroup END
37+
2538

2639

includes/neovim-init-files/neovim-init-vim-plug.vim

+20-7
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,26 @@ set fixendofline " Ensures a newline at the end of the file, if endofline is
6262
set colorcolumn=92 " Set a colored line at column 88 in every row.
6363

6464
"" Filetype-specific configurations.
65-
autocmd Filetype markdown,text,csv setlocal colorcolumn=0
66-
autocmd Filetype java setlocal colorcolumn=100
67-
autocmd Filetype cs setlocal colorcolumn=120
68-
" As recommended by the luarocks Style Guide:
69-
" https://github.com/luarocks/lua-style-guide/blob/master/README.md
70-
autocmd Filetype lua setlocal tabstop=3 shiftwidth=3 softtabstop=3
71-
autocmd Filetype html,css,vue,javascript,typescript setlocal colorcolumn=100 tabstop=2 shiftwidth=2 softtabstop=2
65+
augroup FiletypeConfigs
66+
autocmd!
67+
autocmd Filetype markdown,text,csv setlocal colorcolumn=0
68+
autocmd Filetype java setlocal colorcolumn=100
69+
autocmd Filetype cs setlocal colorcolumn=120
70+
" As recommended by the luarocks Style Guide:
71+
" https://github.com/luarocks/lua-style-guide/blob/master/README.md
72+
autocmd Filetype lua setlocal tabstop=3 shiftwidth=3 softtabstop=3
73+
autocmd Filetype html,css,vue,javascript,typescript setlocal colorcolumn=100 tabstop=2 shiftwidth=2 softtabstop=2
74+
autocmd Filetype vim setlocal tabstop=2 shiftwidth=2 softtabstop=2
75+
augroup END
76+
augroup CsprojSettings
77+
autocmd!
78+
autocmd BufRead,BufNewFile *.csproj setlocal tabstop=2 shiftwidth=2 softtabstop=2
79+
augroup END
80+
augroup SlnSettings
81+
autocmd!
82+
autocmd BufRead,BufNewFile *.sln setlocal tabstop=4 shiftwidth=4
83+
augroup END
84+
7285

7386

7487
""""[ vim-plug Plugin Configurations ]""""""""""""""""""""""""""""""""""""""""""""""""""""""

0 commit comments

Comments
 (0)