diff options
author | Yi Ming <ofseed@foxmail.com> | 2024-05-02 22:26:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 07:26:07 -0700 |
commit | 350d81856473b45100d6b0e5920b757df1b4ad27 (patch) | |
tree | c3541d663c4ac4d917661343a675fec6b4ac943c /test | |
parent | d5063f4b290e1c4262f7ced6d425ff2d7a2e2045 (diff) | |
download | rneovim-350d81856473b45100d6b0e5920b757df1b4ad27.tar.gz rneovim-350d81856473b45100d6b0e5920b757df1b4ad27.tar.bz2 rneovim-350d81856473b45100d6b0e5920b757df1b4ad27.zip |
feat(lsp): inlay_hint.is_enabled({filter}) #28523
vim.diagnostic.enable and vim.diagnostic.is_enabled() use the same pattern.
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/plugin/lsp/inlay_hint_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/plugin/lsp/inlay_hint_spec.lua b/test/functional/plugin/lsp/inlay_hint_spec.lua index 94e7fbb97c..4a8d9669c5 100644 --- a/test/functional/plugin/lsp/inlay_hint_spec.lua +++ b/test/functional/plugin/lsp/inlay_hint_spec.lua @@ -163,7 +163,7 @@ describe('vim.lsp.inlay_hint', function() screen:expect({ grid = grid_with_inlay_hints, unchanged = true }) exec_lua( - [[vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled(bufnr), { bufnr = bufnr })]] + [[vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled({ bufnr = bufnr }), { bufnr = bufnr })]] ) screen:expect({ grid = grid_without_inlay_hints, unchanged = true }) |