summaryrefslogtreecommitdiff
path: root/tw/home
diff options
context:
space:
mode:
authorTimo Wilken2023-01-24 22:58:50 +0100
committerTimo Wilken2023-01-24 22:58:50 +0100
commit265a09b3a9e1564a5435571d9fe4bc12cdf6fd5f (patch)
treec009f8665b837d99f7361ea0a111caf27de1b1be /tw/home
parentf74fb866de4a018a749e3a592c184010c397790a (diff)
Enable autoindent in vim
Diffstat (limited to 'tw/home')
-rw-r--r--tw/home/files/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tw/home/files/vimrc b/tw/home/files/vimrc
index ec908792..9c48346f 100644
--- a/tw/home/files/vimrc
+++ b/tw/home/files/vimrc
@@ -51,7 +51,10 @@ set termguicolors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
+" Enable auto-highlighting and auto-detection of file types and indentation rules.
filetype on
+filetype plugin on
+filetype indent on
syntax on
source ~/.vim/catppuccin.vim