Skip to content

Commit

Permalink
Disable style highlighting, Enable gutter indicators instead (braintr…
Browse files Browse the repository at this point in the history
…eeps#142)

Current linting settings make it impossible to read certain lines of
code in ruby projects. Specifically the background highlighting for
syntax issues obscures symbols in ruby.

To be more cognizant of readability concerns moving this highlighting to
the gutter should satisfy our need to mark style issues while still
allowing for developers to read the code.

See attached screenshots in PR
  • Loading branch information
pcorliss authored Aug 23, 2019
1 parent 52cc0b1 commit bcb1847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ vnoremap * :<C-u>call <SID>VSetSearch()<CR>/<CR>
let g:ale_enabled = 1 " Enable linting by default
let g:ale_lint_on_text_changed = 'normal' " Only lint while in normal mode
let g:ale_lint_on_insert_leave = 1 " Automatically lint when leaving insert mode
let g:ale_set_signs = 0 " Disable signs showing in the gutter to reduce interruptive visuals
let g:ale_set_signs = 1 " Enable signs showing in the gutter to reduce interruptive visuals
let g:ale_linters_explicit = 1 " Only run linters that are explicitly listed below
let g:ale_set_highlights = 0 " Disable highlighting as it interferes with readability and accessibility
let g:ale_linters = {}
let g:ale_linters['puppet'] = ['puppetlint']
if filereadable(expand(".rubocop.yml"))
Expand Down

0 comments on commit bcb1847

Please sign in to comment.