Comments (6)
any global argument can be added to disable this auto command
No such configuration and there's no plan to add this. coc.nvim needs CursorMoved
to refresh diagnostic/highlight/codeLens etc.
I'm using coc.nvim with lualine, didn't find any noticeable slowdown, what's your nvim version?
from coc.nvim.
any global argument can be added to disable this auto command
No such configuration and there's no plan to add this. coc.nvim needs
CursorMoved
to refresh diagnostic/highlight/codeLens etc.I'm using coc.nvim with lualine, didn't find any noticeable slowdown, what's your nvim version?
Version info:
$ nvim --version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1692716794
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"
Run :checkhealth for more info
Can you show me your test result to execute this vim script?
function! s:localtime_milli()
let s:lt = reltime()
return s:lt[0] * 1000 + s:lt[1] / 1000
endfunction
function! s:Autocmd(...) abort
if !get(g:, 'coc_workspace_initialized', 0)
return
endif
call coc#rpc#notify('CocAutocmd', a:000)
endfunction
" -------------------------------------------------------------------------------------------------
for x in range(1000)
let s:start = s:localtime_milli()
call s:Autocmd('CursorMoved', +expand('<abuf>'), [line('.'), col('.')])
let s:elapsed = s:localtime_milli() - s:start
echomsg s:elapsed
endfor
" -------------------------------------------------------------------------------------------------
from coc.nvim.
Similar with your result:
from coc.nvim.
Similar with your result:
Thanks for you reply.
from coc.nvim.
Do you use nvim-treesitter with ibl? I don't use ibl and treesitter but I knew ibl + nvim-treesitter may cause some slowness, disable treesitter and try again.
from coc.nvim.
Do you use nvim-treesitter with ibl? I don't use ibl and treesitter but I knew ibl + nvim-treesitter may cause some slowness, disable treesitter and try again.
Yes, after disable treesitter, I noticed an improvement in test results. About 20% time was reduced.
from coc.nvim.
Related Issues (20)
- How to select an item HOT 5
- using singularity environment for R languageserver
- Move across symbol usage highlights HOT 1
- Extend CocDiagnostics or fillDiagnostics to work with CocList HOT 6
- Coc not updating workspace configuration
- Coc not updating user workspace folder config on demand HOT 3
- Some CoC extension features doesn't work when there's a space in the home directory on Windows HOT 1
- Keybindings when renaming
- 请问能够默认包含头文件和 自定义宏 进行检测, 不需要通过 #include 包含这个头文件
- Unable to correctly select the first parameter of the function HOT 4
- Is it able to open multiple list window. HOT 1
- List not work after some operation HOT 5
- client coc abnormal exit with: 4 HOT 2
- jumpdefinition buffer 1 not created HOT 13
- change `codeLens.separator` accoding to filetype comment char HOT 2
- Repeated Diagnostic Messages with Verible Language Server HOT 6
- Can't install any plugins if node is installed inside a folder with a space on Windows HOT 2
- How to stop annoying prompt? HOT 1
- golang lsp gofumpt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coc.nvim.