Skip to content

HAML linter available but not enabled #4309

Discussion options

You must be logged in to vote

Try inspecting the g:ale_linters within vim. Maybe something is overriding it or you are using a different configuration file. I tested on my machine and setting let g:ale_linters = {'haml': ['hamllint']} properly shows the linter enabled:

 Current Filetype: haml
Available Linters: ['hamllint']
  Enabled Linters: ['hamllint']
  Ignored Linters: []
 Suggested Fixers:
  'remove_trailing_lines' - Remove all blank lines at the end of a file.
  'trim_whitespace' - Remove all trailing whitespace characters at the end of every line.
........ cut ...........
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_insert_leave = 1
let g:ale_lint_on_save = 1
let g:ale_l…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kleinjm
Comment options

@hsanson
Comment options

@kleinjm
Comment options

Answer selected by kleinjm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants