AFAIK, `-range` is not a valid option on maps. This caused me to have a
broken mapping for `-range` itself, adding an annoying timeout on my
unrelated `-` mapping.
```
:nmap -
n -range * <Plug>(lsp-rust-join-lines) :<C-U>call <SNR>131_join_lines()<CR>
n - <Plug>(dirvish_up)
```
Resolves#543, #527
The current configuration for `remark-language-server` has it proposed
for installation whenever a markdown file is edited. This is incorrect,
as `remark-language-server` is _only_ for use in a `remark` project,
which implies a lot of extra baggage (node-base infrastructure,
configuration, etc.) not expected by most users.
As it does appears that `vim-lsp` and `vim-lsp-settings` allow only
filetype server identification by default, this PR:
- removes the `markdown` entry from the `allowlist` for
`remark-language-server`;
- removes the `markdown` entry from `settings.json` (as
`remark-language-server` was the only LS there, and
`remark-language-server` is _not_ a markdown language server);
- and updates the compatibility listing so that `remark-language-server`
is noted as `Markdown (remark)`.
My personal preference would be to wholly _remove_
`remark-language-server` (it provides value to a very small group of
developers), but as it _may_ be possible to extend the `allow` test in
the future so as to detect appropriate configuration, there is currently
no reason to remove it. This, however, depends on testing which I have
not yet completed related to whether `remark-language-server` can be
installed and started manually _without_ a filetype specification.
The LSP terraform-ls is official from Hashicorp and is focused on
stability over experimental features, as terraform-lsp is focused. The
relationship between the two is described in the [terraform-ls README][]
and reiterated in the [terraform-lsp README][].
[terraform-ls README]: https://github.com/hashicorp/terraform-ls#terraform-ls-vs-terraform-lsp
[terraform-lsp README]: https://github.com/juliosueiras/terraform-lsp
Based on this, and the fact that both LSPs are well maintained,
I believe that vim-lsp-settings should prefer installing terraform-ls
over terraform-lsp.
Undo the awk expression change introduced in PR537. The third argument
is not supported by the non-GNU awk installed on MacOS by default.
Fixes issue 540