Skip to content

Commit

Permalink
feat(.vimrc): activate file type plugins
Browse files Browse the repository at this point in the history
I found that autoindention didn't work without this setting for e.g.
 automatically indended sections after a function header.
Apparently one can choose here to limit the filetype-based features on
 indentions by only specifying "filetype indent on".
In contrast using "filetype plugin indent on" comes also with additional
 features like highlighting of language specific keywords.
Althought having such things implicitly makes a clean understanding
 difficult, I still consider them important for an efficient experience
 in vim.
Therefore I'll keep them and if necessary dive into them
 (e.g. in case of conflicts with own manual settings)
  • Loading branch information
LuzianHahn committed Oct 13, 2023
1 parent d3333c0 commit 05f3d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ packadd vim-fugitive
" }}}

" Settings {{{
filetype on
filetype plugin indent on
syntax on

" Let's save undo info!
Expand Down

0 comments on commit 05f3d9a

Please sign in to comment.