[UPDATE][VIM] Move filetype files to 'after/'

This commit is contained in:
Bruno BELANYI 2019-10-12 21:12:21 +02:00
parent e46d347c61
commit 6dd31874c8
12 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,8 @@
" Use shfmt as ALE fixer for bash
let b:ale_fixers=[ 'shfmt' ]
" Indent with 4 spaces, simplify script, indent switch cases, use Bash variant
let b:ale_sh_shfmt_options='-i 4 -s -ci -ln bash'
" Use bash dialect explicitly, require explicit empty string test
let b:ale_sh_shellcheck_options='-s bash -o avoid-nullary-conditions'

View file

@ -0,0 +1,2 @@
" Use compile_commands.json to look for additional flags
let b:ale_c_parse_compile_commands=1

View file

@ -0,0 +1,2 @@
" Use compile_commands.json to look for additional flags
let b:ale_c_parse_compile_commands=1

View file

@ -0,0 +1,2 @@
" Use my desired ALE fixer for D
let b:ale_fixers=[ 'dfmt' ]

View file

@ -0,0 +1,2 @@
" Enable spell checking on commit messages
setlocal spell

View file

@ -0,0 +1,2 @@
" Use my desired ALE fixer for JSON
let b:ale_fixers=[ 'jq' ]

View file

@ -0,0 +1,2 @@
" Let ALE know that I want Markdown linters
let b:ale_linter_aliases=[ 'markdown' ]

View file

@ -0,0 +1,21 @@
" Use my desired ALE fixers for python
let b:ale_fixers=[ 'black', 'isort' ]
" Use my desired ALE linters for python
let b:ale_linters=[ 'flake8', 'mypy', 'pylint', 'pyls' ]
"let b:ale_python_pyls_executable='pyls'
let b:ale_python_pyls_auto_pipenv=1
" Disable pycodestyle checks from pyls because I'm already using flake8
let b:ale_python_pyls_config={
\ 'pyls': {
\ 'plugins': {
\ 'pycodestyle': {
\ 'enabled': v:false
\ },
\ },
\ },
\ }
" Change max length of a line to 88 for this buffer to match black's settings
setlocal colorcolumn=88

View file

@ -0,0 +1,7 @@
" Use h/l to go to the previous/next non-empty quickfix or location list
nnoremap <silent> <buffer> h :call quickfixed#older()<CR>
nnoremap <silent> <buffer> l :call quickfixed#newer()<CR>
" Use left/right to go to the previous/next non-empty quickfix or location list
nnoremap <silent> <buffer> <Left> :call quickfixed#older()<CR>
nnoremap <silent> <buffer> <Right> :call quickfixed#newer()<CR>

View file

@ -0,0 +1,2 @@
" Use rustfmt as ALE fixer for rust
let b:ale_fixers=[ 'rustfmt' ]

View file

@ -0,0 +1,8 @@
" Use shfmt as ALE fixer for sh
let b:ale_fixers=[ 'shfmt' ]
" Indent with 4 spaces, simplify the code, indent switch cases, use POSIX
let b:ale_sh_shfmt_options='-i 4 -s -ci -ln posix'
" Require explicit empty string test
let b:ale_sh_shellcheck_options='-o avoid-nullary-conditions'

View file

@ -0,0 +1,8 @@
" Use shfmt as ALE fixer for zsh
let b:ale_fixers=[ 'shfmt' ]
" Indent with 4 spaces, simplify script, indent switch cases, use Bash variant
let b:ale_sh_shfmt_options='-i 4 -s -ci -ln bash'
" Use bash dialect explicitly, require explicit empty string test
let b:ale_sh_shellcheck_options='-s bash -o avoid-nullary-conditions'