File: vimrc

package info (click to toggle)
vim-ale 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,764 kB
  • sloc: sh: 499; python: 311; perl: 31; makefile: 4; xml: 4; javascript: 1
file content (35 lines) | stat: -rw-r--r-- 878 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
" SPDX-License-Identifier: BSD-2-Clause
" Copyright © 2019 w0rp <devw0rp@gmail.com>
" Copyright © 2020 Nicholas Guriev <guriev-ns@ya.ru>

" Custom vimrc file for tests on debci, based on w0rp's test vimrc.

" Activate the plugin in test.
packadd! ale

" Make most tests just set lists synchronously when run in Docker, etc.
let g:ale_set_lists_synchronously = 1

" This lowercase highlight definition is needed for highlight tests.
hi link aleerrorline spellbad

" The following is just an example
filetype plugin indent on
syntax on

set nocompatible
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set backspace=2
set nofoldenable
set foldmethod=syntax
set foldlevelstart=10
set foldnestmax=10
set ttimeoutlen=0
" The encoding must be explicitly set for tests for Windows.
execute 'set encoding=utf-8'

let g:mapleader = ','
let g:ale_ignore_2_4_warnings = 1