dense-analysis / dense-analysis/ale
Set keywordprg rather than mapping <Space>
Open
enhancement
- Dominant language
- Vim Script
- Stars
- 14k
- Forks
- 1.5k
- Avg merge
- 17h 49m
- Merged PRs (30d)
- 1
Description
https://github.com/dense-analysis/ale/blob/14350dbb0d265ef87d1c7d420d89fb4165a2b131/ftplugin/ale-info.vim#L16
Mapping space interferes with user mappings beginning with space. The standard way to set "help" is to use `keywordprg`. In this case, I suggest
```vim
command -buffer -nargs=* ALEHelp call ALEInfoOpenHelp()
setlocal keywordprg=:ALEHelp
```
Contributor guide
Assessment
This issue has not been assessed yet.