2018-03-14 15:30:44 +01:00
|
|
|
" Set unknown filetypes
|
2020-04-24 23:08:35 +02:00
|
|
|
autocmd BufRead,BufNewFile *.scad set filetype=openscad
|
|
|
|
autocmd BufRead,BufNewFile *.vpy set filetype=python
|
|
|
|
autocmd BufRead,BufNewFile *.tex set filetype=tex
|
2018-03-14 15:30:44 +01:00
|
|
|
|
|
|
|
" Set properties
|
|
|
|
autocmd Filetype arduino setlocal ts=2 sw=2 sts=2 expandtab
|
|
|
|
autocmd Filetype c setlocal ts=4 sw=4 sts=4 expandtab
|
2019-06-09 00:23:36 +02:00
|
|
|
autocmd Filetype cpp setlocal ts=4 sw=4 sts=4 expandtab
|
2018-03-14 15:30:44 +01:00
|
|
|
autocmd Filetype css setlocal ts=2 sw=2 sts=2 expandtab
|
2018-04-09 16:38:38 +02:00
|
|
|
autocmd Filetype dockerfile setlocal ts=4 sw=4 sts=4 expandtab
|
|
|
|
autocmd Filetype dot setlocal ts=2 sw=2 sts=2 expandtab
|
2019-07-31 06:41:39 +02:00
|
|
|
autocmd Filetype gitcommit setlocal colorcolumn=72
|
2018-03-14 15:30:44 +01:00
|
|
|
autocmd Filetype go setlocal ts=4 sw=4 sts=4
|
2018-08-23 13:19:50 +02:00
|
|
|
autocmd Filetype haskell setlocal ts=4 sw=4 sts=4 expandtab
|
2018-03-14 15:30:44 +01:00
|
|
|
autocmd Filetype html setlocal ts=2 sw=2 sts=2 expandtab
|
2020-08-02 15:01:18 +02:00
|
|
|
autocmd Filetype jinja.html setlocal ts=2 sw=2 sts=2 expandtab
|
2018-03-14 15:30:44 +01:00
|
|
|
autocmd Filetype javascript setlocal ts=2 sw=2 sts=2 expandtab
|
2018-03-19 14:49:05 +01:00
|
|
|
autocmd Filetype jinja setlocal ts=2 sw=2 sts=2 expandtab
|
2018-03-14 15:30:44 +01:00
|
|
|
autocmd Filetype json setlocal ts=2 sw=2 sts=2 expandtab
|
|
|
|
autocmd Filetype lua setlocal ts=4 sw=4 sts=4 expandtab
|
|
|
|
autocmd Filetype markdown setlocal ts=2 sw=2 sts=2 expandtab
|
|
|
|
autocmd Filetype openscad setlocal ts=2 sw=2 sts=2 expandtab
|
|
|
|
autocmd Filetype python setlocal ts=4 sw=4 sts=4 expandtab
|
2019-06-10 16:09:17 +02:00
|
|
|
autocmd Filetype sass setlocal ts=2 sw=2 sts=2 expandtab
|
2018-03-14 15:30:44 +01:00
|
|
|
autocmd Filetype scss setlocal ts=2 sw=2 sts=2 expandtab
|
2019-11-20 14:09:54 +01:00
|
|
|
autocmd Filetype sh setlocal ts=4 sw=4 sts=4
|
2020-07-18 10:04:17 +02:00
|
|
|
autocmd Filetype tex setlocal ts=1 sw=1 sts=1 expandtab
|
2018-07-31 17:11:51 +02:00
|
|
|
autocmd Filetype toml setlocal ts=2 sw=2 sts=2 expandtab
|
2019-06-09 00:23:36 +02:00
|
|
|
autocmd Filetype vim setlocal ts=2 sw=2 sts=2 expandtab
|
2018-03-14 15:30:44 +01:00
|
|
|
autocmd Filetype vue setlocal ts=2 sw=2 sts=2 expandtab
|
|
|
|
autocmd Filetype xml setlocal ts=2 sw=2 sts=2 expandtab
|
|
|
|
autocmd Filetype yaml setlocal ts=2 sw=2 sts=2 expandtab
|
2019-06-09 00:23:36 +02:00
|
|
|
autocmd Filetype zsh setlocal ts=4 sw=4 sts=4 expandtab
|