summaryrefslogtreecommitdiff
path: root/mac/.config/vim/vimrc
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-11 10:59:48 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-11 10:59:48 +0900
commit74713d79880967f5f0f8652c6741bc5fa63a8794 (patch)
tree1d4685807b0a00df52860a2def0f954856d28ae9 /mac/.config/vim/vimrc
parent1819d73ebea8980ad5f43e8f8d785bd57cedce77 (diff)
updates
Diffstat (limited to 'mac/.config/vim/vimrc')
-rw-r--r--mac/.config/vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/.config/vim/vimrc b/mac/.config/vim/vimrc
index 0a76953..a782a14 100644
--- a/mac/.config/vim/vimrc
+++ b/mac/.config/vim/vimrc
@@ -335,8 +335,8 @@ set nocursorcolumn
set shiftwidth=4
set tabstop=4
-" If the current file type is HTML, set indentation to 2 spaces.
-autocmd Filetype html setlocal tabstop=2 shiftwidth=2 expandtab
+" If the current file type is HTML, CSS, JS, JSX, TS, TSX set indentation to 2 spaces.
+autocmd Filetype html,css,js,jsx,ts,tsx setlocal tabstop=2 shiftwidth=2 expandtab
" Do not save backup files.
set nobackup