Comments (6)
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.
Yes, after disable treesitter, I noticed an improvement in test results. About 20% time was reduced.
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?
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.
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.
Related Issues (20)
- How to stop annoying prompt? HOT 1
- golang lsp gofumpt HOT 1
- ✗ coc-html spawn EINVAL / ✗ coc-pyright spawn EINVAL HOT 1
- Explaining why some LSP needs plugins HOT 1
- coc format behavior differently between Neovim and Vim, create unnecessary empty change in neovim. HOT 8
- something about jumpback after gD coc-definition HOT 2
- 打开rust文件时, coc报错 HOT 2
- Hover/docstring information with custom sources HOT 2
- 为什么会代码提示会提示两次? HOT 5
- [coc.nvim] Server languageserver.ccls failed to start: Error: expected rootUri HOT 1
- Failed open exsit file with list in vim HOT 5
- The text above get seleted automatically HOT 2
- The documentation has incorrect installation instructions for NeoBundle HOT 1
- How to remove the highlights when using go references HOT 3
- LinkedEditing not work in vim HOT 1
- help: completion of variables from dotenv files in shell scripts HOT 9
- <CR> can not confirm in vimwiki and folding codes failed HOT 4
- coc.nvim takes up two shortcut keys that I prefer to use. HOT 1
- Error on notification "codeAction": code action without data HOT 4
- Asynchronous Completion for `isIncomplete` Items in coc.nvim
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.