Code Monkey home page Code Monkey logo

Comments (6)

pqn avatar pqn commented on August 23, 2024

@klew do you know what could be causing the flickering?

from codeium.vim.

klew avatar klew commented on August 23, 2024

@pqn it is redrawing, so it may flicker depending on neovim implementation and on other plugins/data that is configured on statusline.
However I tested again with this line removed:

redrawstatus

And it seems to work correctly. So feel free to remove that line.

from codeium.vim.

sigmaSd avatar sigmaSd commented on August 23, 2024

The issus still remain as far as I can tell, here is a profile

FUNCTIONS SORTED ON SELF TIME
count  total (s)   self (s)  function
   21              0.179678  codeium#server#Request()
   41              0.055430  <SNR>35_try()
   34              0.048389  codeium#RedrawStatusLine()
    6              0.041515  3()
   41   0.013109   0.011787  <SNR>18_Highlight_Matching_Pair()
   17   0.022916   0.008260  <SNR>48_RenderCurrentCompletion()
   21   0.008325   0.008165  codeium#doc#GetDocument()
   72   0.013562   0.007480  codeium#GetStatusString()
   79              0.006530  codeium#Enabled()
    3              0.006146  nvim_treesitter#indent()
   17   0.114937   0.005492  codeium#Clear()
    7   0.074005   0.005298  codeium#Complete()
   22              0.002636  codeium#log#Log()
    7   0.013661   0.002191  <SNR>48_HandleCompletionsResult()
   17              0.001567  <SNR>48_ClearCompletion()
   41              0.001323  <SNR>18_Remove_Matches()
   13   0.068452   0.001227  codeium#DebouncedComplete()
    3   0.028024   0.001155  codeium#Accept()
   22   0.004103   0.000768  <lambda>1()
   22   0.003336   0.000700  codeium#log#Info()

commenting this line seems to improve things a lot

redrawstatus

from codeium.vim.

fortenforge avatar fortenforge commented on August 23, 2024

Are you using codeium's status line? This line should only be executed if s:using_codeium_status is true

from codeium.vim.

sigmaSd avatar sigmaSd commented on August 23, 2024

yeah and it still work when disabling that line in nvim

from codeium.vim.

sigmaSd avatar sigmaSd commented on August 23, 2024

Its called many times but the total time seems very low 34 0.048389 codeium#RedrawStatusLine()

I tested it more there is in improvement but actually not that big, its probably due to me having too much plugins

from codeium.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.