The easiest neovim autocompletion setup?

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 73

  • @youngreda4410
    @youngreda4410 11 ชั่วโมงที่ผ่านมา +37

    custom snippets next would be cool love the series!

  • @paulthexton7483
    @paulthexton7483 9 ชั่วโมงที่ผ่านมา +13

    I've been quite happy with nvim-cmp so far, but this looks excellent, I especially like the signature help sticking around while you're still filling out parameters! Looks like I'm tweaking my nvim config this evening!

    • @PasterNoster94
      @PasterNoster94 4 ชั่วโมงที่ผ่านมา

      This

    • @yukio9400
      @yukio9400 2 ชั่วโมงที่ผ่านมา +1

      yeah i didn't think i would need it but ... yeah seems like its a bit better than nvim-cmp

  • @pi_ist_toll
    @pi_ist_toll 9 ชั่วโมงที่ผ่านมา +12

    2:12 VERY IMPORTANT: Add blink.cmp as a dependency 'cause it can happen that it hasn't been loaded else.
    (TJ did it, but didn't mention it)

  • @IndiMentals
    @IndiMentals 9 ชั่วโมงที่ผ่านมา +7

    Thanks!

    • @teej_dv
      @teej_dv  7 ชั่วโมงที่ผ่านมา +1

      Whoa!! Thanks!!

  • @mohansella
    @mohansella 11 ชั่วโมงที่ผ่านมา +10

    Really helpful. I use nvim-cmp so far but its configuration was the hardest that i experienced in nvim plugins :(

    • @FilipeAguiarCarvalho
      @FilipeAguiarCarvalho 8 ชั่วโมงที่ผ่านมา

      I know, right? I had it working for everything except vue files. It was broken for days until i got the time to fix it. I'll try blink to see if it's worth.

  • @nemethda
    @nemethda 4 ชั่วโมงที่ผ่านมา

    "if you want you can do these other ones, but you're wrong.. that's okay" 🤣 but WOW the signature help is a game changer thanks so much Teej, I love this series!!

  • @felipetrost
    @felipetrost 9 ชั่วโมงที่ผ่านมา

    Even though I've been using nvim for a while now, and I have gone through configuring most of the things you talk about myself, this series is super fun, and I'm learning stuff I didn't know.
    props for the idea and the execution

  • @whenrow3630
    @whenrow3630 5 ชั่วโมงที่ผ่านมา

    I love how Teej is doing the videos faster than the previous one. I'm very hyped to be on 25th :D

  • @friendliness1337
    @friendliness1337 11 ชั่วโมงที่ผ่านมา +1

    The other day I said "I'll need to look into blink soon", started looking into it today and then this video goes live 😂 Thanks again my man!😊

  • @priyanshukatuwal
    @priyanshukatuwal 10 ชั่วโมงที่ผ่านมา +1

    This series would've helped me so much an year ago

  • @CNich90
    @CNich90 5 ชั่วโมงที่ผ่านมา

    Thank God I started my neovim journey after blink.cmp was already a thing. I bypassed all the pain people talk about when configuring nvim-cmp.

  • @majam1n
    @majam1n 8 ชั่วโมงที่ผ่านมา

    What is this sorcery. Teej on fire 🔥

  • @Kane0123
    @Kane0123 10 ชั่วโมงที่ผ่านมา

    Let's get right to it - love that

  • @rexsybimatrimawahyu3292
    @rexsybimatrimawahyu3292 11 ชั่วโมงที่ผ่านมา +6

    Ceo of neovim....

    • @programmer1356
      @programmer1356 10 ชั่วโมงที่ผ่านมา

      you too eh? [heheheh I see a horse with laser eyes]

    • @user-sq1oi9qp8w
      @user-sq1oi9qp8w 10 ชั่วโมงที่ผ่านมา +1

      he is one of core maintainer of neovim after all

  • @Junior.Nascimento
    @Junior.Nascimento 14 นาทีที่ผ่านมา

    this is fire

  • @sayanta01
    @sayanta01 10 ชั่วโมงที่ผ่านมา +2

    can you make a video on:
    A new way to setup LSPs has been merged

  • @ArisTheInquring
    @ArisTheInquring 11 ชั่วโมงที่ผ่านมา +1

    You know i had seen this the other day when browsing the cmp docs is it better ? The way it was referenced made it sound like a much better completion engine

  • @FrankJonen
    @FrankJonen 10 ชั่วโมงที่ผ่านมา +1

    What would you recommend for writers in terms of getting definitions to show up like these autocompletes? Like you type “Westeros” and get a list of all places within it along with a one liner description.

  • @n.a.s1096
    @n.a.s1096 11 ชั่วโมงที่ผ่านมา +1

    Can you show how to use the built-in completion.

  • @blyedev
    @blyedev 4 ชั่วโมงที่ผ่านมา

    This is great, is there any way to use it with the lspkind menu feature? You made a video a while back that set up lspkind to show where each completion item comes from, the function highlight is cool enough to switch over but the source label is very important to me

  • @usernr546
    @usernr546 ชั่วโมงที่ผ่านมา

    I also use blink.cmp, but encountered some weird behaviors. When I write the same vim.api.nvim_buf_set_lines( I get the same hover window as you get. But every time I type "0" for example it closes the hover and opens it up again when I type the ",". I do not get why and it looks much smoother on your video then for me. It is kinda distracting. Does someone maybe know why?

  • @Ask-786
    @Ask-786 8 ชั่วโมงที่ผ่านมา

    Wanna give a try. Is it capable of showing the doc while scrolling through completions even before we actually select it huh?

  • @patricorgi
    @patricorgi 4 ชั่วโมงที่ผ่านมา

    basedpyright lsp does not offer such signature help, or is it because I didn't configure it properly?

  • @leonardodavinci2856
    @leonardodavinci2856 7 ชั่วโมงที่ผ่านมา

    so is this complementary to nvim cmp or seperate project because i wanted to see the path of the import variable and i was able to do it in nvim cmp but in blink ill need to read more about how to do that.
    Also i have been tring disabling the auto suggestions while writing code and it really makes you remember the names of the commands which you will forget when using autocompelete. Also removed around 10-15 plugins from the neovim for the minimalistic. Creating my own remaps for the snippets.

  • @sergioteixeira3313
    @sergioteixeira3313 7 ชั่วโมงที่ผ่านมา

    cant get buffer words working with blink though

  • @overthinker8532
    @overthinker8532 10 ชั่วโมงที่ผ่านมา

    Thanks for this info (I dont even use neovim)

  • @kpr3729
    @kpr3729 4 ชั่วโมงที่ผ่านมา

    Hope you can implement this on the kickstart-nvim repo soon

  • @karamanliev
    @karamanliev 8 ชั่วโมงที่ผ่านมา

    I cant make cmdline completion work with blink for some reason.

  • @Peter-UK-nl6cv
    @Peter-UK-nl6cv 11 ชั่วโมงที่ผ่านมา +1

    mind blown

  • @EliasHansenu7f
    @EliasHansenu7f 9 ชั่วโมงที่ผ่านมา

    I installed nvim via kickstart and added som custom plugins. But when I tried to disable nvim-cmp to try this plugin Ive got a lot of errors. I don't know why yet, but it may be a good idea to untangle the awesome kickstart project

  • @kostadinterziev1453
    @kostadinterziev1453 7 ชั่วโมงที่ผ่านมา

    How does ur theme have that texture on it? Kinda feels like paper is it a plugin or terminal specific?

  • @JoeBrigAI
    @JoeBrigAI 3 ชั่วโมงที่ผ่านมา

    To get to this point, we need:
    neovim < obviously
    lazy < package manager
    nvim-treesitter < configures builtin treesitter
    LSP's installed < external processes to neovim
    nvim-lspconfig < configures builtin LSP features
    blink.cmp < alternative to builtin omni completion
    ?

    • @IainSimmons
      @IainSimmons 2 ชั่วโมงที่ผ่านมา

      This video is part of TJ's Advent of Neovim series, if you go back and watch the previous videos in the series, he covers all of those things 🙂

  • @idk-nv
    @idk-nv 10 ชั่วโมงที่ผ่านมา

    Nice vido, How to config source priority?

  • @darkchoclate
    @darkchoclate 6 ชั่วโมงที่ผ่านมา +3

    I'm confused, how it's easier than cmp? You setup, you pass capabilities to lsp. that's it.

  • @halamadrid5238
    @halamadrid5238 7 ชั่วโมงที่ผ่านมา

    Swapped to blink last week and ITS SO FAST

    • @MonospaceMentor
      @MonospaceMentor ชั่วโมงที่ผ่านมา

      Blink and you'll miss it!

  • @iukys3889
    @iukys3889 11 ชั่วโมงที่ผ่านมา +1

    Is that it ??

  • @justincmendes
    @justincmendes 6 ชั่วโมงที่ผ่านมา

    D: y r u yelling at me

  • @cz7259
    @cz7259 9 ชั่วโมงที่ผ่านมา

    It’s very sad to switch to blink and just realize how slow the LSP server is. No blink can save that. But hey at least it’s fast when I am in lua files.

  • @hugosales8102
    @hugosales8102 10 ชั่วโมงที่ผ่านมา

    C-n and C-p, common emacs w :v

  • @terxxxz
    @terxxxz 11 ชั่วโมงที่ผ่านมา

    Is it JetBrainsMono?

    • @gerydony6531
      @gerydony6531 10 ชั่วโมงที่ผ่านมา +2

      looks like Berkeley Mono (paid font)

    • @terxxxz
      @terxxxz 10 ชั่วโมงที่ผ่านมา

      @@gerydony6531 ty

  • @slotos
    @slotos 7 ชั่วโมงที่ผ่านมา

    It shouldn’t require a setup call for basic functionality. It should only require it if defaults are not satisfactory.
    I’m so tired of dealing with setup calls for plugins that should just damn work.

  • @asg8813
    @asg8813 11 ชั่วโมงที่ผ่านมา

    Is this better than nvim-cmp? How?

    • @AhmadMughal1
      @AhmadMughal1 9 ชั่วโมงที่ผ่านมา +1

      much much faster and fuzzy finding as well

    • @런지부
      @런지부 8 ชั่วโมงที่ผ่านมา

      The repo says it's still beta , is it unstable?
      I should try it though

    • @AhmadMughal1
      @AhmadMughal1 8 ชั่วโมงที่ผ่านมา

      @@런지부 So far i had 2 issues which were resolved the next day i woke up.
      If you don't use a lot of external cmp sources it should be very easy to replace and it offers most common native sources by default so do check that list.
      After those 2 issues I've had no problems since.

  • @SR-ti6jj
    @SR-ti6jj 3 ชั่วโมงที่ผ่านมา

    Hmm, so that's it?

  • @br4vetrave1er
    @br4vetrave1er 10 ชั่วโมงที่ผ่านมา +1

    lets type something!
    types kkk...
    me af 🗿

  • @alexferreira1534
    @alexferreira1534 11 ชั่วโมงที่ผ่านมา

    first!

  • @mogambro
    @mogambro 9 ชั่วโมงที่ผ่านมา +1

    Ctrl-N and P are so wrong. Should be Ctrl-K and Ctrl-J instead

    • @willernst
      @willernst 9 ชั่วโมงที่ผ่านมา

      C-n and C-p are nice patterns to establish because they're ubiquitous, though.

  • @sairaj5660
    @sairaj5660 11 ชั่วโมงที่ผ่านมา +1

    benchod, this is way too easy to use as compared to nvim-cmp

  • @henryallenlaudemilk5161
    @henryallenlaudemilk5161 8 ชั่วโมงที่ผ่านมา +1

    Anyone use mini-completion? Why blink.nvim over mini-completion?

  • @Ghostbutfromdestiny2
    @Ghostbutfromdestiny2 8 ชั่วโมงที่ผ่านมา

    2 time but still curious, who no startup? (like alpha.nvim)

  • @etiedem
    @etiedem 9 ชั่วโมงที่ผ่านมา +1

    Thanks!

    • @teej_dv
      @teej_dv  7 ชั่วโมงที่ผ่านมา

      Wow!! Thanks!! I really appreciate it!