summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-06-17 19:51:55 +0200
committerAdrian Kummerlaender2019-06-17 19:51:55 +0200
commitf232a4a9f14c311b859d20352d26acb6712d9dc3 (patch)
tree887b8474d008ab98987c6f90d2220cd4b5e35b9d
parentc22e303b9864ced226cfd7de9d4877fe7c3beaca (diff)
downloadpkgs-f232a4a9f14c311b859d20352d26acb6712d9dc3.tar
pkgs-f232a4a9f14c311b859d20352d26acb6712d9dc3.tar.gz
pkgs-f232a4a9f14c311b859d20352d26acb6712d9dc3.tar.bz2
pkgs-f232a4a9f14c311b859d20352d26acb6712d9dc3.tar.lz
pkgs-f232a4a9f14c311b859d20352d26acb6712d9dc3.tar.xz
pkgs-f232a4a9f14c311b859d20352d26acb6712d9dc3.tar.zst
pkgs-f232a4a9f14c311b859d20352d26acb6712d9dc3.zip
Add Python, Mako filetype
-rw-r--r--pkgs/custom-neovim/asset/rc.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/asset/rc.vim b/pkgs/custom-neovim/asset/rc.vim
index d882d1d..dee54ff 100644
--- a/pkgs/custom-neovim/asset/rc.vim
+++ b/pkgs/custom-neovim/asset/rc.vim
@@ -54,6 +54,8 @@ autocmd FileType scheme setlocal shiftwidth=2 tabstop=2 expandtab
autocmd FileType nix setlocal shiftwidth=2 tabstop=2 expandtab
autocmd FileType lisp setlocal shiftwidth=2 tabstop=2 expandtab
autocmd FileType racket setlocal shiftwidth=2 tabstop=2 expandtab
+autocmd FileType python setlocal shiftwidth=4 tabstop=4 expandtab
+autocmd FileType mako setlocal shiftwidth=4 tabstop=4 expandtab
autocmd FileType haskell setlocal shiftwidth=2 tabstop=4 softtabstop=2 shiftround expandtab
autocmd FileType pandoc setlocal nonumber autoread
autocmd FileType pandoc let g:airline#extensions#whitespace#checks=['indent', 'trailing', 'long']