Merge pull request #1217 from wcn3/master
Add Go to the list of C-like languages.
This commit is contained in:
commit
62fa44f8b3
@ -15,7 +15,7 @@ let s:indent_algo = get(g:, 'airline#extensions#whitespace#mixed_indent_algo', 0
|
|||||||
let s:skip_check_ft = {'make': ['indent', 'mixed-indent-file'] }
|
let s:skip_check_ft = {'make': ['indent', 'mixed-indent-file'] }
|
||||||
let s:max_lines = get(g:, 'airline#extensions#whitespace#max_lines', 20000)
|
let s:max_lines = get(g:, 'airline#extensions#whitespace#max_lines', 20000)
|
||||||
let s:enabled = get(g:, 'airline#extensions#whitespace#enabled', 1)
|
let s:enabled = get(g:, 'airline#extensions#whitespace#enabled', 1)
|
||||||
let s:c_like_langs = get(g:, 'airline#extensions#c_like_langs', [ 'c', 'cpp', 'cuda', 'javascript', 'ld', 'php' ])
|
let s:c_like_langs = get(g:, 'airline#extensions#c_like_langs', [ 'c', 'cpp', 'cuda', 'go', 'javascript', 'ld', 'php' ])
|
||||||
|
|
||||||
function! s:check_mixed_indent()
|
function! s:check_mixed_indent()
|
||||||
if s:indent_algo == 1
|
if s:indent_algo == 1
|
||||||
|
@ -500,7 +500,7 @@ eclim <https://eclim.org>
|
|||||||
|
|
||||||
* configure, which filetypes have special treatment of /* */ comments,
|
* configure, which filetypes have special treatment of /* */ comments,
|
||||||
matters for mix-indent-file algorithm: >
|
matters for mix-indent-file algorithm: >
|
||||||
let airline#extensions#c_like_langs = ['c', 'cpp', 'cuda', 'javascript', 'ld', 'php']
|
let airline#extensions#c_like_langs = ['c', 'cpp', 'cuda', 'go', 'javascript', 'ld', 'php']
|
||||||
<
|
<
|
||||||
* disable whitespace checking for an individual buffer >
|
* disable whitespace checking for an individual buffer >
|
||||||
" Checking is enabled by default because b:airline_whitespace_disabled
|
" Checking is enabled by default because b:airline_whitespace_disabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user