diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-04-15 18:35:59 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2024-04-15 21:32:31 +0200 |
commit | 5ed9916a28b9a09d2e5629f3e4e5b0e81403ded7 (patch) | |
tree | e4625022a73f20c8e18c21429c0e3cf96f562b64 /src/nvim/api/buffer.c | |
parent | 26765e8461c1ba1e9a351632212cf89900221781 (diff) | |
download | rneovim-5ed9916a28b9a09d2e5629f3e4e5b0e81403ded7.tar.gz rneovim-5ed9916a28b9a09d2e5629f3e4e5b0e81403ded7.tar.bz2 rneovim-5ed9916a28b9a09d2e5629f3e4e5b0e81403ded7.zip |
feat(diagnostic): enable(…, opts)
Problem:
vim.diagnostic.enable() does not match the signature of vim.lsp.inlay_hint.enable()
Solution:
- Change the signature so that the first 2 args are (bufnr, enable).
- Introduce a 3rd `opts` arg.
- Currently it only supports `opts.ns_id`.
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions