From fb9b7af923160c3c6193940fc4e56f98aabdbfbb Mon Sep 17 00:00:00 2001 From: Svetoslav Iliev Date: Fri, 23 May 2025 19:50:45 +0300 Subject: [PATCH] Specify that Vim9 is needed for semantic highlighting Semantic highlighting uses reduce() and prop_type_add() which are introduced in Vim9. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f7d16352c..456177bed 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ Also see `:h vim-lsp-folding`. ## Semantic highlighting vim-lsp supports the unofficial extension to the LSP protocol for semantic highlighting (https://github.com/microsoft/vscode-languageserver-node/pull/367). -This feature requires Neovim highlights, or Vim with the `textprop` feature enabled. +This feature requires Neovim highlights, or Vim9 with the `textprop` feature enabled. You will also need to link language server semantic scopes to Vim highlight groups. Refer to `:h vim-lsp-semantic` for more info.