Closed cpfaff closed 3 years ago
## versions vim version: NVIM v0.4.4 node version: v12.20.1 coc.nvim version: 0.0.80-d09f35455b coc.nvim directory: /home/user/.vim/plugged/coc.nvim term: rxvt-unicode-256color platform: linux ## Log of coc.nvim 2021-03-10T22:46:35.956 INFO (pid:852329) [services] - registered service "highlight" 2021-03-10T22:46:36.037 INFO (pid:852329) [language-client-index] - highlight started with 852369 2021-03-10T22:46:36.343 INFO (pid:852329) [plugin] - coc.nvim 0.0.80-d09f35455b initialized with node: v12.20.1 after 583ms 2021-03-10T22:46:38.541 INFO (pid:852329) [services] - registered service "jedi" 2021-03-10T22:46:38.541 INFO (pid:852329) [services] - jedi-language-server state change: stopped => starting 2021-03-10T22:46:38.669 INFO (pid:852329) [services] - registered service "pyright" 2021-03-10T22:46:38.670 INFO (pid:852329) [services] - Pyright Server state change: stopped => starting 2021-03-10T22:46:38.673 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:46:38.687 INFO (pid:852329) [language-client-index] - Language server "jedi" started with 852473 2021-03-10T22:46:38.701 INFO (pid:852329) [language-client-index] - pyright started with 852474 2021-03-10T22:46:38.891 INFO (pid:852329) [services] - jedi-language-server state change: starting => running 2021-03-10T22:46:38.896 INFO (pid:852329) [services] - service jedi started 2021-03-10T22:46:38.910 INFO (pid:852329) [services] - Pyright Server state change: starting => running 2021-03-10T22:46:38.913 INFO (pid:852329) [services] - service pyright started 2021-03-10T22:46:39.800 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:46:41.143 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:46:49.798 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:46:58.620 INFO (pid:852329) [services] - registered service "json" 2021-03-10T22:46:58.620 INFO (pid:852329) [services] - Json language server state change: stopped => starting 2021-03-10T22:46:58.713 INFO (pid:852329) [language-client-index] - json started with 852887 2021-03-10T22:46:58.765 INFO (pid:852329) [services] - registered service "tsserver" 2021-03-10T22:46:58.828 INFO (pid:852329) [services] - Json language server state change: starting => running 2021-03-10T22:46:58.830 INFO (pid:852329) [services] - service json started 2021-03-10T22:46:59.101 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:00.469 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:03.001 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:09.114 INFO (pid:852329) [attach] - receive request: doKeymap [ 'iPGJzPg==0' ] 2021-03-10T22:47:10.631 INFO (pid:852329) [completion-complete] - Results from: snippets,json-1,tmuxcomplete 2021-03-10T22:47:12.483 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:18.853 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:24.402 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:25.150 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:31.256 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:32.669 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:54.127 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:54.714 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:55.511 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:56.129 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:47:59.688 INFO (pid:852329) [attach] - receive notification: doAutocmd [ 2, { regcontents: [ 'diagnostic.maxWindowHeight' ], inclusive: true, regname: '', operator: 'y', regtype: 'v' }, 7, 1000 ] 2021-03-10T22:48:00.193 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:49:58.713 INFO (pid:852329) [attach] - receive notification: highlight [] 2021-03-10T22:50:00.322 INFO (pid:852329) [attach] - receive notification: showInfo []
Setting the
diagnostic.maxWindowHeight
option is not respected. (diagnostic.maxWindowHeight is working)
We will close your issue when you don't provide minimal vimrc and we can't reproduce it
Create file mini.vim with:
mini.vim
set nocompatible set runtimepath^=/path/to/coc.nvim filetype plugin indent on syntax on set hidden
Start (neo)vim with command: vim -u mini.vim
vim -u mini.vim
Operate vim.
If applicable, add screenshots to help explain your problem.
What do you mean diagnostic.maxWindowHeight option is not respected, but diagnostic.maxWindowHeight is working?
diagnostic.maxWindowHeight option is not respected
diagnostic.maxWindowHeight is working
https://github.com/neoclide/coc.nvim/wiki/Using-the-configuration-file
Result from CocInfo
Describe the bug
Setting the
option is not respected. (diagnostic.maxWindowHeight is working)
Reproduce the bug
We will close your issue when you don't provide minimal vimrc and we can't reproduce it
Create file
mini.vim
with:Start (neo)vim with command:
vim -u mini.vim
Operate vim.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.