瀏覽代碼

bump the vim requirement for virtual text a little further

Ben Jackson 2 年之前
父節點
當前提交
1e440448bf
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 3 3
      README.md
  2. 1 1
      python/ycm/vimsupport.py

+ 3 - 3
README.md

@@ -1036,7 +1036,7 @@ endfor
 
 
 ## Inlay hints
 ## Inlay hints
 
 
-**NOTE**: Hightly experimental feature, requiring vim 9.0.200 or later (no
+**NOTE**: Hightly experimental feature, requiring vim 9.0.214 or later (no
 neovim).
 neovim).
 
 
 When `g:ycm_enable_inlay_hints` (globally) or `b:ycm_enable_inlay_hints` (for a
 When `g:ycm_enable_inlay_hints` (globally) or `b:ycm_enable_inlay_hints` (for a
@@ -2876,7 +2876,7 @@ When this option is set to 1, YCM will echo the text of the diagnostic present
 on the current line when you move your cursor to that line. If a `FixIt` is
 on the current line when you move your cursor to that line. If a `FixIt` is
 available for the current diagnostic, then ` (FixIt)` is appended.
 available for the current diagnostic, then ` (FixIt)` is appended.
 
 
-If you have a vim that supports virtual text (9.0.200+), you can set this option
+If you have a vim that supports virtual text, you can set this option
 to the string `virtual-text`, and the diagnostic will be displayed inline with
 to the string `virtual-text`, and the diagnostic will be displayed inline with
 the text, right aligned in the window and wrapping to the next line if there is
 the text, right aligned in the window and wrapping to the next line if there is
 not enough space, for example:
 not enough space, for example:
@@ -2905,7 +2905,7 @@ Valid values:
 
 
 ```viml
 ```viml
 let g:ycm_echo_current_diagnostic = 1
 let g:ycm_echo_current_diagnostic = 1
-" Or, when you can vim 9.0.200+
+" Or, when you have vim supporting virtual text
 let g:ycm_echo_current_diagnostic = 'virtual-text'
 let g:ycm_echo_current_diagnostic = 'virtual-text'
 ```
 ```
 
 

+ 1 - 1
python/ycm/vimsupport.py

@@ -62,7 +62,7 @@ YCM_NEOVIM_NS_ID = vim.eval( 'g:ycm_neovim_ns_id' )
 
 
 # Virtual text is not a feature in itself and early patches don't work well, so
 # Virtual text is not a feature in itself and early patches don't work well, so
 # we need to keep changing this at the moment
 # we need to keep changing this at the moment
-VIM_VIRTUAL_TEXT_VERSION_REQ = '9.0.199'
+VIM_VIRTUAL_TEXT_VERSION_REQ = '9.0.214'
 
 
 
 
 def CurrentLineAndColumn():
 def CurrentLineAndColumn():