Browse Source

add flake8 linter for ale, and .vim/templates dir for auto-pop templates

aurora
Noah Hall 3 years ago
parent
commit
632495e133
2 changed files with 12 additions and 0 deletions
  1. +8
    -0
      .vim/templates/notes.md
  2. +4
    -0
      .vimrc

+ 8
- 0
.vim/templates/notes.md View File

@ -0,0 +1,8 @@
Title:
Date:
Modified:
Category:
Tags:
Slug:

+ 4
- 0
.vimrc View File

@ -68,6 +68,7 @@ let g:jsx_ext_required = 0
" let g:syntastic_javascript_checkers = ['eslint']
let g:ale_linters = {
\ 'javascript': ['eslint'],
\ 'python': ['flake8'],
\}
" Tell vim to remember certain things when we exit
@ -100,3 +101,6 @@ command DW w | AsyncRun deploy water
nnoremap ; :
vnoremap ; :
" aurora/vesper specific - notebook md template
au BufNewFile /home/noah/projects/notebook/**.md r /home/noah/.vim/templates/notes.md

Loading…
Cancel
Save