Do not interfere with filetype indentation. Simply reproduce the previous indentation when creating a new line. Ref : https://vim.fandom.com/wiki/Indenting_source_code
@@ -2,3 +2,4 @@ syntax on
set softtabstop=4
set shiftwidth=4
set expandtab
+set autoindent