This commit is contained in:
Tim Schubert 2020-08-01 15:46:33 +02:00
parent b7b348c163
commit 3d86adb45f
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
41 changed files with 124 additions and 81 deletions

View file

@ -0,0 +1,11 @@
let b:ale_fixers = ['clang-format', 'remove_trailing_lines', 'trim_whitespace']
let b:ale_linters = ['clangd']
"setlocal tabstop=8 expandtab shiftwidth=2 smarttab
" GNU Coding Standards
setlocal cindent
setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1
setlocal shiftwidth=2
setlocal softtabstop=2
setlocal textwidth=79
setlocal fo-=ro fo+=cql

View file

@ -0,0 +1,3 @@
setlocal expandtab
setlocal shiftwidth=2
setlocal softtabstop=2

View file

@ -0,0 +1,2 @@
" Set up :make to use fish for syntax checking.
compiler fish

View file

@ -0,0 +1,3 @@
class Foo {
fun
}

View file

@ -0,0 +1,3 @@
setlocal expandtab
setlocal shiftwidth=2
setlocal softtabstop=2

View file

@ -0,0 +1,5 @@
let b:ale_fixers = ['prettier', 'eslint']
setlocal expandtab
setlocal shiftwidth=2
setlocal softtabstop=2

View file

@ -0,0 +1,5 @@
setlocal expandtab
setlocal shiftwidth=4
setlocal softtabstop=4
let g:ale_kotlin_languageserver_executable = "/home/tim/src/kotlin-language-server/server/build/install/server/bin/kotlin-language-server"

View file

@ -0,0 +1,3 @@
setlocal expandtab
setlocal shiftwidth=4
setlocal softtabstop=4

View file

@ -0,0 +1,3 @@
setlocal expandtab
setlocal shiftwidth=2
setlocal softtabstop=2

View file

@ -0,0 +1,4 @@
" Check Python files with flake8 and pylint.
let b:ale_linters = ['flake8', 'pylint']
" Fix Python files with autopep8 and yapf.
let b:ale_fixers = ['autopep8', 'yapf', 'add_blank_lines_for_python_control_statements', 'autopep8', 'remove_trailing_lines', 'reorder-python-imports', 'trim_whitespace']

View file

@ -0,0 +1,2 @@
let b:ale_linters = {'rust': ['rustc', 'rls', 'rust-analyzer']}
let b:ale_fixers = {'rust': ['rustfmt']}

View file

@ -0,0 +1,3 @@
setlocal expandtab
setlocal shiftwidth=2
setlocal softtabstop=2

View file

@ -0,0 +1,5 @@
let b:ale_fixers = ['prettier', 'eslint', 'tsserver']
setlocal expandtab
setlocal shiftwidth=2
setlocal softtabstop=2

View file

@ -0,0 +1,4 @@
setlocal expandtab
setlocal shiftwidth=2
setlocal softtabstop=2