neoclide/coc.nvim

inlayHints update is not on splitted window

A4-Tacks opened this issue · 0 comments

Result from CocInfo

versions

vim version: VIM - Vi IMproved 9.1 9010000
node version: v21.6.1
coc.nvim version: 0.0.82-d1568d56 2023-09-29 19:43:34 +0800
coc.nvim directory: /home/lrne/.vim/plugged/coc.nvim
term: dumb
platform: linux

Log of coc.nvim

2024-08-20T15:53:05.693 INFO (pid:15713) [plugin] - coc.nvim initialized with node: v21.6.1 after 468
2024-08-20T15:53:05.747 INFO (pid:15713) [services] - service tsserver started

Describe the bug

inlayHints update is not on splitted window

Reproduce the bug

  • Create file mini.vim with:

    set nocompatible
    set runtimepath^=~/.vim/plugged/coc.nvim
    filetype plugin indent on
    syntax on
    set hidden
  • install extensions coc-tsserver: ^2.1.4

  • create file coc-settings.json with:

    {
        "typescript.inlayHints.parameterNames.enabled": "all",
        "typescript.inlayHints.functionLikeReturnTypes.enabled": true
    }
  • Start (neo)vim with command: vim -u mini.vim foo.ts

  • Operate vim.

    1. wait until inlayHints displayed
    2. input :sp<cr>
    3. input <c-w>p goto the previous window
    4. repeat <c-f>

Screenshots (optional)

Screenshot_20240820_160458