asyncedd / dots.nvim

My neovim dotfiles.
MIT License
31 stars 2 forks source link

perf: optimize heirline #108

Closed asyncedd closed 1 year ago

asyncedd commented 1 year ago

Alright, Heirline.nvim seems to be a big bottleneck.

(I suspect LSP and Diagnostics modules).

I'll try and make it "lazy"?

I dunno, Imma see what I can do :P

asyncedd commented 1 year ago

Yep, disabling the LSP module seems to do the trick

asyncedd commented 1 year ago

I'll go try to only load once a LSP server attaches.

asyncedd commented 1 year ago

I'll do this later :P

asyncedd commented 1 year ago

For now, it seems it's only a 10ms diff

asyncedd commented 1 year ago

I believe I've fixed this :D