This commit is contained in:
2025-11-26 17:57:22 +01:00
parent d88c7d0cbb
commit 2681a2fd1a
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -332,6 +332,11 @@ snippet main
return 0; return 0;
} }
snippet range
for ( int i = 0; i < ${1:count}; i++ ) {
$0
}
snippet fori snippet fori
for ( ${1:size_t} ${2:i} = ${3:0}; ${2:i} < ${4:count}; ${2:i}++ ) { for ( ${1:size_t} ${2:i} = ${3:0}; ${2:i} < ${4:count}; ${2:i}++ ) {
$0 $0
+1
View File
@@ -11,6 +11,7 @@ autocmd FileType * setlocal indentexpr=
autocmd FileType csharp setlocal makeprg=dotnet autocmd FileType csharp setlocal makeprg=dotnet
autocmd FileType go setlocal makeprg=go noexpandtab autocmd FileType go setlocal makeprg=go noexpandtab
autocmd FileType lua setlocal noexpandtab autocmd FileType lua setlocal noexpandtab
autocmd FileType c setlocal noexpandtab
nnoremap ,ct :!ctags -R .<CR> nnoremap ,ct :!ctags -R .<CR>
augroup GoCtags augroup GoCtags
autocmd! autocmd!