dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 1ef6838513a989949f252744d61de6b6ec0eae72 (patch)
parent 69cfbf6840c61c4ed672622cd67e7c77a66ffd37
Author: Alexander Karle <akarle@umass.edu>
Date:   Mon, 14 May 2018 21:02:08 -0400

Minor vim tweaks from the past weeks

Diffstat:
Avim/ftplugin/javascript.vim | 3+++
Mvim/ftplugin/python.vim | 3+++
Mvim/vimrc | 1+
3 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/vim/ftplugin/javascript.vim b/vim/ftplugin/javascript.vim @@ -0,0 +1,3 @@ +" 2 space +setlocal softtabstop=2 +setlocal shiftwidth=2 diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim @@ -5,3 +5,6 @@ " zc -- close a fold by indent (at cursor until end indent) " zo -- open a closed fold setlocal foldmethod=indent + +" Set the local :make command to run flake8 +setlocal makeprg=flake8\ % diff --git a/vim/vimrc b/vim/vimrc @@ -82,6 +82,7 @@ if filereadable(expand("~/.vim/autoload/plug.vim")) " Extra syntax files Plug 'octol/vim-cpp-enhanced-highlight' + Plug 'pangloss/vim-javascript' Plug 'posva/vim-vue' " Plug nerdtree for tree package explorer