diff options
author | Marvin Borner | 2020-07-11 13:05:36 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-11 13:05:36 +0200 |
commit | d8aa33eed495e813fb4d635d585dc56e04f7933a (patch) | |
tree | d8261f58a1ad2121a5ee914e8986bd8b41fce583 /.config | |
parent | a796d12c54cfaf0c37246867052a0cde649a80f8 (diff) |
Dumb but ok
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/init.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a1b49a0..428f891 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -320,6 +320,13 @@ if &diff highlight! link DiffText MatchParen endif +" Custom indenting +autocmd FileType python set tabstop=4|set shiftwidth=4|set expandtab +autocmd FileType javascript set tabstop=4|set shiftwidth=4|set expandtab +autocmd FileType css set tabstop=4|set shiftwidth=4|set expandtab +autocmd FileType json set tabstop=4|set shiftwidth=4|set expandtab +autocmd FileType html set tabstop=4|set shiftwidth=4|set expandtab + " File extension actions autocmd BufRead,BufNewFile *.ms,*.me,*.mom,*.man set filetype=groff autocmd BufRead,BufNewFile *.asm set filetype=nasm |