Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ALE errors with latest git master head (10e1545630943aa98320b62f97f79a6f85340e51) and vim 8.1 #1621

@pbleser

Description

@pbleser

Information

VIM version

VIM - Vi IMproved 8.1 (2018 May 17)
Included patches: 1-20

Operating System: Linux (openSUSE Leap 42.3)

:ALEInfo

 Current Filetype:                                                                                                                                                        
Available Linters: []
  Enabled Linters: []
 Linter Variables:
 Global Variables:
let g:ale_cache_executable_check_failures = v:null
let g:ale_change_sign_column_color = v:null
let g:ale_command_wrapper = v:null
let g:ale_completion_delay = v:null
let g:ale_completion_enabled = 0
let g:ale_completion_max_suggestions = v:null
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = v:null
let g:ale_echo_msg_format = v:null
let g:ale_echo_msg_info_str = v:null
let g:ale_echo_msg_warning_str = v:null
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = v:null
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = v:null
let g:ale_list_vertical = v:null
let g:ale_loclist_msg_format = v:null
let g:ale_max_buffer_history_size = v:null
let g:ale_max_signs = v:null
let g:ale_maximum_file_size = v:null
let g:ale_open_list = v:null
let g:ale_pattern_options = v:null
let g:ale_pattern_options_enabled = v:null
let g:ale_set_balloons = 1
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = v:null
let g:ale_sign_error = v:null
let g:ale_sign_info = v:null
let g:ale_sign_offset = v:null
let g:ale_sign_style_error = v:null
let g:ale_sign_style_warning = v:null
let g:ale_sign_warning = v:null
let g:ale_statusline_format = v:null
let g:ale_type_map = v:null
let g:ale_use_global_executables = v:null
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
  Command History:

What went wrong

After upgrading to ALE to git head (10e1545), the following errors appear:

Error detected while processing function ale#pattern_options#SetOptions:
line    1:
E121: Undefined variable: g:ale_pattern_options_enabled
E15: Invalid expression: !g:ale_pattern_options_enabled || empty(g:ale_pattern_options)
Press ENTER or type command to continue
Error detected while processing function ale#cursor#EchoCursorWarningWithDelay[19]..ale#Var:
line   12:
E716: Key not present in Dictionary: ale_echo_delay
Press ENTER or type command to continue
Error detected while processing function ale#cursor#EchoCursorWarningWithDelay[19]..ale#Var:
line   12:
E116: Invalid arguments for function get(l:vars, l:full_name, g:[l:full_name])
Press ENTER or type command to continue
Error detected while processing function ale#cursor#EchoCursorWarningWithDelay[19]..ale#Var:
line   12:
E15: Invalid expression: get(l:vars, l:full_name, g:[l:full_name])

Reproducing the bug

Using ALE git head on master branch with vim 8.1 ... ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions