diff options
author | Mathias Fussenegger <f.mathias@zignar.net> | 2023-10-21 09:57:50 +0200 |
---|---|---|
committer | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2023-10-21 13:49:05 +0200 |
commit | 195301c60969c7ce97b1ef3a3caaf4965da1abd5 (patch) | |
tree | 720cc64604b99ae135e740602b0cd83e245527e4 /test/functional | |
parent | 1e10310f4cc70cf95a68457c2be9e7459b5bbba6 (diff) | |
download | rneovim-195301c60969c7ce97b1ef3a3caaf4965da1abd5.tar.gz rneovim-195301c60969c7ce97b1ef3a3caaf4965da1abd5.tar.bz2 rneovim-195301c60969c7ce97b1ef3a3caaf4965da1abd5.zip |
refactor(lsp): deprecate completion util methods
Relates to https://github.com/neovim/neovim/issues/25272
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/plugin/lsp_spec.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/functional/plugin/lsp_spec.lua b/test/functional/plugin/lsp_spec.lua index 8a4a82fa38..3bd8db815d 100644 --- a/test/functional/plugin/lsp_spec.lua +++ b/test/functional/plugin/lsp_spec.lua @@ -2769,18 +2769,6 @@ describe('LSP', function() end) end) - describe('lsp.util._get_completion_item_kind_name', function() - it('returns the name specified by protocol', function() - eq("Text", exec_lua("return vim.lsp.util._get_completion_item_kind_name(1)")) - eq("TypeParameter", exec_lua("return vim.lsp.util._get_completion_item_kind_name(25)")) - end) - it('returns the name not specified by protocol', function() - eq("Unknown", exec_lua("return vim.lsp.util._get_completion_item_kind_name(nil)")) - eq("Unknown", exec_lua("return vim.lsp.util._get_completion_item_kind_name(vim.NIL)")) - eq("Unknown", exec_lua("return vim.lsp.util._get_completion_item_kind_name(1000)")) - end) - end) - describe('lsp.util._get_symbol_kind_name', function() it('returns the name specified by protocol', function() eq("File", exec_lua("return vim.lsp.util._get_symbol_kind_name(1)")) |