Skip to content

Unable to disable balloons in Ruby #1404

@csexton

Description

@csexton

Information

VIM version

VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 18 2018 04:09:42)
macOS version

Operating System: macOS 10.13

:ALEInfo


 Current Filetype: ruby
Available Linters: ['brakeman', 'rails_best_practices', 'reek', 'rubocop', 'ruby']
  Enabled Linters: ['brakeman', 'rails_best_practices', 'reek', 'rubocop', 'ruby']
 Linter Variables:

let g:ale_ruby_brakeman_options = ''
let g:ale_ruby_reek_show_context = 0
let g:ale_ruby_reek_show_wiki_link = 0
let g:ale_ruby_rubocop_executable = 'rubocop'
let g:ale_ruby_rubocop_options = ''
let g:ale_ruby_ruby_executable = 'ruby'
 Global Variables:

let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%code: %%s'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_linter_aliases = {}
let g:ale_linters = {}
let g:ale_open_list = 0
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 = 1
let g:ale_sign_error = '>>'
let g:ale_sign_offset = 1000000
let g:ale_sign_warning = '•'
let g:ale_statusline_format = ['%d error(s)', '%d warning(s)', 'OK']
let g:ale_warn_about_trailing_whitespace = 1
  Command History:

(executable check - failure) brakeman
(executable check - failure) rails_best_practices
(executable check - failure) reek
(executable check - failure) rubocop
(executable check - success) ruby
(finished - exit code 0) ['/usr/local/bin/zsh', '-c', '''ruby'' -w -c -T1 ''/var/folders/yl/8nmvwdjs2y35y0f90bv6mxj40000gn/T/vDiwhpm/5/contents_controller.rb''']

<<<NO OUTPUT RETURNED>>>

(executable check - failure) reek
(executable check - failure) rubocop
(finished - exit code 0) ['/usr/local/bin/zsh', '-c', '''ruby'' -w -c -T1 ''/var/folders/yl/8nmvwdjs2y35y0f90bv6mxj40000gn/T/vDiwhpm/6/contents_controller.rb''']

<<<NO OUTPUT RETURNED>>>

What went wrong

Balloons are popping up despite disabling the setting in my vimrc file:

let g:ale_set_balloons = 0

Reproducing the bug

Steps for repeating the bug:

  1. Create a vimrc with g:ale_set_balloons set to 0
  2. Open vim with a filetype that has balloon support (I am using Ruby)
  3. Click on a keyword that has balloon info (I can easily reproduce with params or map

I do not get this behavior if I add call ale#balloon#Disable() in my vimrc file.

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