TakeTuesday E01: nvim-cmp

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

Комментарии • 255

  • @teej_dv
    @teej_dv  3 года назад +38

    Comment below with other plugins you'd like to see in this series or with any other feedback you have!
    Thanks for watching :)

    • @noblesavage149
      @noblesavage149 3 года назад +2

      Have you tried Olical/aniseed? Thoughts?

    • @teej_dv
      @teej_dv  3 года назад +2

      @@noblesavage149 for some reason, it seems like yt keeps making my comments disappear. So sorry if you see three of them haha.
      But I have not tried it. I also don't know lisp, so I don't think I would be the right person to explore it.

    • @noblesavage149
      @noblesavage149 3 года назад

      @@teej_dv That's ok, my one seems to have disappeared also. I think yt is going down the proverbials at the moment!

    • @jmann277
      @jmann277 3 года назад +21

      nvim-dap pleeeease

    • @danymat
      @danymat 3 года назад +7

      Neogen (it’s an annotation generator using treesitter)
      And Neorg

  • @BryanBaron55
    @BryanBaron55 3 года назад +46

    Nvim surprised me every single day, I can tell that I'm not an expert, (I'm learning how to setup Nvim for myself yet, btw) but things like this inspire me to go on with this beautiful code editor... Great video and job TJ, you're the best.

    • @teej_dv
      @teej_dv  3 года назад +7

      What a really nice message! Thanks! I'm hoping to make a bunch more of these (over time haha, they take quite awhile)

  • @korney4eg
    @korney4eg 3 года назад +34

    Hey TJ. It's super nice idea for videos to take one plugin/component and become familiar with it.

    • @teej_dv
      @teej_dv  3 года назад

      Glad to hear it! Glad you found it useful!

  • @diarmaidmac2149
    @diarmaidmac2149 3 года назад +7

    What a great idea TJ! This is the sort of trials and tribulations that us mere mortals go through so it is nice to see it from the eye of an experienced "insider" 😀👍

    • @teej_dv
      @teej_dv  3 года назад

      Glad to hear it!

  • @Boroujerdi
    @Boroujerdi 3 года назад +45

    nvim-dap. Never tried debugging in a text editor. It is the one thing preventing me from completely switching to nvim

    • @barower
      @barower 3 года назад +1

      This

    • @teej_dv
      @teej_dv  3 года назад +8

      @@barower It's on the list :) A few plugins away but I will go over this plugin in the series hopefully

  • @andrewhaeffner6114
    @andrewhaeffner6114 3 года назад +6

    Absolutely amazing video. Entertaining, informative and really well laid out. This content is the bomb!
    Becoming exposed to the features of nvim by you & the rest of the community is greatly broadening my horizons with respect to developing software. I am greatly appreciative of the effort that you put into this video and your other content. You’re the man, TJ!

    • @teej_dv
      @teej_dv  3 года назад

      Thank you so much :)

  • @chrisjames278
    @chrisjames278 3 года назад +2

    Awesome video. Looking forward to the future TakeTuesdays! Will be looking forward to the luasnip one. Thanks TJ.

  • @EuphoricRaccoon
    @EuphoricRaccoon 3 года назад

    Dude, seriously thank you for this video. I love how you go step by step explaining parts of the basic setup and configuration for the plugin (instead of simply copy this, paste that).
    My migration from completion-nvim to this one was long overdue and this video was just perfect, worked like a charm!
    Your "explain one plugin, install, setup, config and features" videos are great!

    • @teej_dv
      @teej_dv  3 года назад +1

      So happy to hear :) I've got another one almost done!

  • @hendrykhoza4782
    @hendrykhoza4782 3 года назад +2

    Thank you. waiting for the lua snippets video

  • @mantassidabras2921
    @mantassidabras2921 3 года назад +3

    That's exactly what I need! How a proficient vim user setups his config and uses real world scenarios. And also kudos for warning about tab selection!

  • @imaksimus
    @imaksimus Год назад

    Decided to watch this spontaneously. Just as good as the first time. Really miss TakeTuesday.

  • @tamatotodile
    @tamatotodile 6 месяцев назад

    2 years later, this video still helping lost souls like me. Thanks teej :D

    • @teej_dv
      @teej_dv  6 месяцев назад

      haha that's awesome!

  • @maniac5411
    @maniac5411 Год назад

    THESE VIDEOS ARE AMAZING, PLEASE NEVER STOP THEM! Huge thanks to you Tj, I was so lost in regards to completion in neovim and this cleared up everything for me!

  • @devonduty
    @devonduty 3 года назад +3

    Hey TJ, thanks for this great video, I really like the format! Best regards, David

  • @SaMusz73
    @SaMusz73 Год назад

    Great tutorial in the 'insides' of neovim. Learned a lot. Please keep up the format as is, not too long and not just out of the help docs

  • @user-fq2ty
    @user-fq2ty 2 года назад +1

    what I did in mappings was change for and for . So basically I can scroll words without move fingers almost, and to prevent tab use. ( and for Dvorak users)

  • @WiseGuyFTW
    @WiseGuyFTW 3 года назад

    This is such a useful video, no other video gives an intro to get things started and a background to what different sources do. Thanks!

  • @Amapramaadhy
    @Amapramaadhy 3 года назад +1

    Seriously face melting stuff. Really enjoyed the format. Chock full of actionable items. Thanks TJ.

    • @teej_dv
      @teej_dv  3 года назад

      Awesome! :) I will try to keep to that standard!

  • @chandrappamenasinahal7785
    @chandrappamenasinahal7785 3 года назад

    Very very thanks for all the efforts that you guys are putting make such valuable content, from which nvim users like me getting lots of benfits... Thanks you very much.. This is my first comment i am writing in youtube for any of channel.

    • @teej_dv
      @teej_dv  3 года назад

      Wow! That's very kind of you! So glad you enjoyed it!

  • @Pau1danelli
    @Pau1danelli 3 года назад +1

    This was amazing thank you.
    I’d love to see you go through your LSP setup, explaining what you do and why. I’m new to lua, so seeing someone explain what is happening makes it way simpler than code diving dot files.

    • @teej_dv
      @teej_dv  3 года назад +2

      A builtin LSP video would probably be also be good for a simple setup of some of the features. Thanks for the idea!

  • @someoneyouveneverheardof
    @someoneyouveneverheardof 3 года назад +1

    I would say these videos are useful and fun to watch. I would watch them even if I knew most of the stuff, becoz there's always something I don't know. And you guys are the experts and I always enjoy going more deep which you did in this video. I hope videos like these keep coming! :)

  • @phantomwhale
    @phantomwhale 2 года назад

    Just found these - great stuff! My complete wasn't working, turned out to be something unrelated of course, but getting a solid run through of what SHOULD be there and how it hands together really gave me a bunch of confidence with my autocomplete setup; so when it does flake out, I know it's something else I stuffed up in future (hopefully!)

  • @stev0rev0
    @stev0rev0 3 года назад

    Thanks so much for this, TJ - I learned a ton! A co-worker convinced me to watch this and make the switch from coc and it definitely worked. So happy with the result. Looking forward to more.

  • @pigozs
    @pigozs 2 года назад

    Thank you! I've been using coc for a long time. This video and the one about LSP helped me so much in setting everything up.

  • @willernst
    @willernst 3 года назад

    Sooo good. I love the well-paced and comprehensive walk-through.

    • @teej_dv
      @teej_dv  3 года назад

      Glad the pacing was helpful. It's hard to find the right pace but not take 4 hours haha

  • @ryanseipp6944
    @ryanseipp6944 3 года назад

    Would love to see more Take Tuesdays! Learned a lot from this video already. Would also like to see an explanation on how your configurations in `after/plugin/*.lua` gets auto-loaded

    • @teej_dv
      @teej_dv  3 года назад

      It's automatic now! Just get on a newer release and they get loaded.

  • @sebas.random
    @sebas.random 3 года назад +4

    Hey TJ, you are good at teaching! Thanks a lot.
    I'm looking forward to the next episodes. How about exploring some wiki plugins? (I saw you are not using vimwiki anymore)

    • @teej_dv
      @teej_dv  3 года назад +2

      Yeah, maybe I will try out one or more of the org-mode plugin replacements. Perhaps vimwiki could be interesting as well.

  • @lucastperez
    @lucastperez 3 года назад

    The GH Issues thing was very impressive! Really nice video :D

    • @teej_dv
      @teej_dv  3 года назад +1

      Excellent!

  • @elyezer
    @elyezer 3 года назад

    What an excellent video and series. Thanks for putting all the effort and coming with this greatly explained video. After this I am considering giving nvim-cmp a try for sure.

    • @teej_dv
      @teej_dv  3 года назад +1

      ELYEZER YOU HAVE TO BE ON NVIM CMP OR YOU ARE GETTING BANNED FROM TWITCH KAPPA

  • @lpanebr
    @lpanebr 3 года назад +3

    I really enjoyed this format and the content is excellent! I'll just ditch my prime's yt subscription and follow you now! 😂😂

    • @teej_dv
      @teej_dv  3 года назад +1

      Don't leave Prime. He's the reason I stream!

  • @pawebakiewicz6786
    @pawebakiewicz6786 2 года назад

    I loved this format TJ. Looking forward for more :D

    • @teej_dv
      @teej_dv  2 года назад

      Thanks, had a bunch of stuff happen IRL but hope to get back to doing these soon!

  • @aklsh22
    @aklsh22 3 года назад +3

    Treesitter next! Btw, I’m curious as to how you get the invisible characters like newlines show up.

    • @teej_dv
      @teej_dv  3 года назад +1

      Yes, good call for doing tree sitter. I will add that to the list.
      You are looking for "help listchars"

  • @gavinvales8928
    @gavinvales8928 3 года назад

    you nvim guys are absolute magicians

    • @teej_dv
      @teej_dv  3 года назад

      haha thanks!

  • @AntonKastritskiy
    @AntonKastritskiy 3 года назад

    Awesome format, props for the effort it took to prepare this content. Definitely picked a couple of things that I will be taking to my setup. Look forward seeing the upcoming ones!

  • @nodidog
    @nodidog 3 года назад

    Thanks for your uploads TJ, they're really helpful!

    • @teej_dv
      @teej_dv  3 года назад

      Excellent! So happy to hear that!

  • @ChillinAtDaClub
    @ChillinAtDaClub 3 года назад

    Really enjoyed this and look forward to more plugin walkthroughs

  • @JeremyBaumont
    @JeremyBaumont 3 года назад

    Great content, great format, love it, I would love the same kind of walk-through into colorbuddy and your color setup.

    • @teej_dv
      @teej_dv  3 года назад

      Ah! Colorbuddy would be fun to do :) I'd have to clean up some code for it I think, but it'd be a good one to revisit. Thanks, I am adding it to the list!

  • @cafce2567
    @cafce2567 2 года назад +2

    To get the auto import going i had to update the capabilities with `require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities())` and add them to the lsp servers capabilites in it's setup. Everything else works great thank's for the in depth explanation.

  • @Oswee
    @Oswee 2 года назад

    Don't even consider to become evil person! :) Keep sharing this superb stuff. Learning so much in every single minute!!! :) :) You have a true talent!

  • @elsombrero105
    @elsombrero105 3 года назад +1

    What a great content! Thank you, TJ!
    Btw, it would be great to see something about the debugging in vim/neovim. Cheers!;)

    • @bramlo411
      @bramlo411 3 года назад +1

      You could check out The Primagen's vid about Vimspector

    • @teej_dv
      @teej_dv  3 года назад +2

      I think I will add doing nvim-dap to my list of things to do :) thanks for the suggestion!

  • @baka_geddy
    @baka_geddy 3 года назад +5

    Do Emacs next!

    • @teej_dv
      @teej_dv  3 года назад +17

      Sorry, I don't review Operating Systems.

    • @nyxkrage
      @nyxkrage 3 года назад +1

      @@teej_dv Review evil-mode then, AS A NEOVIM CORE DEV

  • @starggoo
    @starggoo 3 года назад

    This is great. Made some changes to my setup based on the vid. Looking forward to more.

  • @seanbanko1442
    @seanbanko1442 2 года назад +2

    What is your rationale for why tab completion is bad? It feels like a sensible default to me considering it mirrors tab completion in a browser search/address bar. Right now using Ctrl-N in Neovim and tab in my browser has me accidentally opening a new browser windows left and right.

    • @teej_dv
      @teej_dv  2 года назад +1

      It's about 90% a joke, in general it's just because I like using one key to do one thing (not have tab be overloaded to do 20 different things) and I like using defaults if they are not annoying in nvim. So I think using c-n and c-p is the default and a lot of other menus / items / selections use those within vim, so I think it's good to keep those in mind.
      But you can use whatever makes you happy :)

  • @Dieterbe
    @Dieterbe 2 года назад

    Very interesting. thanks TJ. I was able to follow along and got the gh_issues plugin working too. It's interesting that it just shows all the numbers, and you still have to iterate them manually to visually inspect them. This makes me wonder if it might make sense to use telescope as a way to drill down to a single completion item, as it allows to search on keywords that are not part of the ultimate result (e.g. the issue body, which we don't want inserted as a completion), and allows fuzzy searching, of course...

    • @teej_dv
      @teej_dv  2 года назад

      Yeah, you could make a telescope picker that just inserts the selected value and grab all the issues from github as well. It would not be super complicated to do if you already have the gh_issues plugin working!

  • @saikoushikmacha7379
    @saikoushikmacha7379 3 года назад +1

    great video waiting for the LuaSnip

    • @teej_dv
      @teej_dv  3 года назад

      Hopefully in the next few weeks :)

  • @axeldahlberg7043
    @axeldahlberg7043 3 года назад +1

    The gh_issues source is really cool! One thing I was thinking is if it would be possible to set the "kind" (or what it is called) to be the issue title? Such that you can see them all in the menu, instead of the generic "Text". Great video, already looking forward to the next :)

    • @teej_dv
      @teej_dv  3 года назад +2

      Yeah! I didn't explore that part, but I think you can set the kind to be something else and that will change the "Text" thing you see.

  • @jotarokujo6099
    @jotarokujo6099 3 года назад +1

    Nice explanation. Thank you!

  • @n0kodoko143
    @n0kodoko143 2 года назад

    :h ins-completion - likely just changed the way that I will use completion. I appreciate the heads up. Soon to be former 'tab' user. Seems worth the immediate workflow hit that I'll take getting up to speed.

  • @farzadmf
    @farzadmf 3 года назад

    First time watching a video from you (I knew about you, but I always thought your videos and explanations would be too advanced for me 😛)
    But, GREAT video! Very nice and detailed explanation. I subscribed and I hope I see more videos of this format 🙂

    • @teej_dv
      @teej_dv  3 года назад +1

      Super glad to hear. I hope to keep making more in the TakeTuesday series.

    • @farzadmf
      @farzadmf 3 года назад

      Looking forward to them 🙂

  • @gersongallo6892
    @gersongallo6892 3 года назад

    I love this format, keep them coming

  • @ak2f
    @ak2f 3 года назад

    Thank you, really helpful video. Next maybe nvim-dap, how to setup etc.?

    • @teej_dv
      @teej_dv  3 года назад +1

      It's on the list!

  • @RoryIsNotACabbage
    @RoryIsNotACabbage 3 года назад

    This was really well explained TJ, thanks

  • @andresgutgon
    @andresgutgon 2 года назад +1

    Hi @TJ DeVries great content. I implemented some of your code but I had super TAB and I feel more easy to use it. Would be awesome if you could do a small video explaining with detail why you think using tab is not a good idea. Thanks!

    • @teej_dv
      @teej_dv  2 года назад +2

      That's a good idea, I'll do it sometime :)

    • @nraw_
      @nraw_ Год назад

      @@teej_dv Are we there yet? I'd also be interested :)

  • @adityasinha3669
    @adityasinha3669 3 года назад

    Amazing format buddy ✌🏽

    • @teej_dv
      @teej_dv  3 года назад

      Thanks :) I am enjoying it!

  • @vellankiindeevar5530
    @vellankiindeevar5530 3 года назад

    this is really great sir . we also want a video on telescope.nvim

    • @teej_dv
      @teej_dv  3 года назад

      hehe a bit too self promotion for the first one, but I will keep that in mind :)

  • @ciacconas4903
    @ciacconas4903 2 года назад

    More Take Tuesday episodes pls!!

    • @teej_dv
      @teej_dv  2 года назад

      Part 1 of LuaSnip will hopefully be done soon :)

  • @_vikramhegde_
    @_vikramhegde_ 3 года назад

    Looking forward to more of these 🙌

  • @lvgsredarmy8776
    @lvgsredarmy8776 3 года назад

    "When I type this *octothorp*..." 😆 TJ you're supposed to be a millenial, not a boomer 😛 that's "hashtag" to you haha
    Regardless, thanks as always TJ. I always learn a ton from your videos! This one in particular was *packed* to the brim with goodies about nvim-cmp, a plugin that I've used for a while but haven't explored the API of very much. I have several ideas now about how to make my Neovim experience even better with nvim-cmp after watching your video 😃. Your work in the Neovim community as always is much appreciated :)

    • @teej_dv
      @teej_dv  3 года назад +2

      I will never give up octothorp. IT IS SO FUN TO SAY!!!!!

  • @marwanfikrat7716
    @marwanfikrat7716 3 года назад

    Excellent. Looking forward to many more episodes of TakeTuesday.
    My most lacking area of (neo)vim is the native ft-plugins it comes with. No idea how any of that works, and didn't find the builtin docs to be too helpful (I say this lightly because I probably didn't look in the right place or gave it enough of my time).
    Thanks for all your work TJ, it really does make a difference to us, that watch, and aren't so tied up with the development and ecosystem of what is neovim.

    • @teej_dv
      @teej_dv  3 года назад

      Maybe check ":help ftplugin". That might be helpful.

  • @GaetanLepage
    @GaetanLepage 2 года назад

    Thank you TJ for sharing this great content !

    • @teej_dv
      @teej_dv  2 года назад

      My pleasure!

  • @FaintArt
    @FaintArt 8 месяцев назад

    Hey teej, Can you show you'd configure github copilot with this too??
    Also you are really doing a great job! keep it up!!

  • @ayoubelmhamdi7920
    @ayoubelmhamdi7920 3 года назад +1

    you are a great teacher،

  • @qwertyasdf7615
    @qwertyasdf7615 3 года назад

    Ooo yeahhh!! Nvim dap!

  • @tyrox9
    @tyrox9 2 года назад +1

    Really good video thanks!

  • @mikloscsepella2743
    @mikloscsepella2743 3 года назад

    great content. keep 'em coming plz! would love one about LuaSnip. thank you

    • @teej_dv
      @teej_dv  3 года назад

      I have a video almost done for comment.nvim and then the next videos will be about LuaSnip!

    • @mikloscsepella2743
      @mikloscsepella2743 3 года назад

      @@teej_dv thats exciting ty!

  • @tokiomutex4148
    @tokiomutex4148 3 года назад +2

    Why is the Tab/Shift-Tab thing wrong?

    • @nathanhyland
      @nathanhyland 3 года назад +1

      Nothing else in vim works that way. Just more consistent and idiomatic not to.

    • @tokiomutex4148
      @tokiomutex4148 3 года назад +1

      @@nathanhyland So tab completion is a pathway to a non-portable workflow

    • @teej_dv
      @teej_dv  3 года назад +2

      @@tokiomutex4148 That is a great way to say it. In general, if the default shortcuts are not TERRIBLE, then I recommend keeping them the way they are. Often times other things will eventually make sense and it prevents you from overriding any other builtin workflows.

    • @tokiomutex4148
      @tokiomutex4148 3 года назад

      @@teej_dv The default shortcuts are well designed unlike my naive configuration which may overwrite (useful) default behavior that I was not aware of at the time of writing.

  • @serge_schumacher
    @serge_schumacher Год назад

    Hey TJ! Thank you for your work, I've learned a lot by watching videos you're created over these years.
    I have a question:
    How do I make nvim-cmp source dap on runtime (on debugging). Let's say I'm using python or query django object. So, I want my autocompletion suggest all dynamic fields containing in this object. nvim-dap has this info, but all autocompletion sources suggest only static data. I've tried rcarriga/cmp-dap with no luck.
    Before I start writing my completion source, can you give me a tip on a ready-to-use solution?
    Thanks!

  • @shubhampawar7921
    @shubhampawar7921 3 года назад +2

    Luasnip next please 🙏

    • @teej_dv
      @teej_dv  3 года назад

      it's not next on the list, but coming soon hopelly :)

  • @ericsquires8896
    @ericsquires8896 3 года назад +1

    Thanks for the video! What keys you are entering at 21:07 where the function arguments are added and you can jump between "k", "v" and the end of the function? I can't seem to replicate that behavior.

    • @teej_dv
      @teej_dv  3 года назад +1

      After "accept"ing the solution (which is for me), I can move with which is my luasnip "jump-to-next" key.

  • @yanuar1420
    @yanuar1420 2 года назад

    Thank you TJ, I have been struggling to know what nvim-cmp and those following plugins does. and why it still need Ultisnips in my case. This video is a Godsend for me.
    Very understandable, explain what those plugins and config does. *chef kiss

  • @jmann277
    @jmann277 3 года назад

    Fantastic content! Greatly appreciated.

  • @lucastperez
    @lucastperez 3 года назад

    Fu***ng hell that Subscribe Button jump scare at 4:53 almost killed me. I was kinda sleepy in front of the pc 😅

  • @AelDiaoul
    @AelDiaoul 3 года назад +1

    What are your cmp select prev/next mappings? I tried default but it seems to break the cmp window.

    • @teej_dv
      @teej_dv  3 года назад

      Just or . You don't need to prefix with to _move_ between the selections, that is to enter into a certain type of ins-completion mode.

  • @kevinlee6416
    @kevinlee6416 3 года назад

    Great work👍👍, very helpful thanks

  • @rblab5
    @rblab5 3 года назад

    Thank you TJ... great content!

  • @adityashourya3446
    @adityashourya3446 3 года назад

    Ok. This series is cool.

  • @PaulJacobson
    @PaulJacobson 2 года назад

    Thanks for this video. I found this helpful.

  • @windsweptflutters
    @windsweptflutters 2 года назад

    Thank you so much for this video!

    • @teej_dv
      @teej_dv  2 года назад

      So glad you liked it!

  • @davidsicilia5316
    @davidsicilia5316 3 года назад

    Thanks for making these videos

    • @teej_dv
      @teej_dv  3 года назад

      Happy to do so :) more coming soon!

  • @avimehenwal
    @avimehenwal 2 года назад

    amazing video, very useful content

  • @window.location
    @window.location 3 года назад

    Awesome tutorial Tj

  • @cristianinujazznight3044
    @cristianinujazznight3044 2 года назад

    Hi, is there a way to call cmp.complete while typing? Just to have the same effect from coc.nvim

  • @nonefvnfvnjnjnjevjenjvonej3384
    @nonefvnfvnjnjnjevjenjvonej3384 2 года назад

    sweet vid tj

  • @CristianHeredia0
    @CristianHeredia0 3 года назад

    Yes, do more of these

  • @hellmag123
    @hellmag123 Год назад

    very useful! Thank you

  • @saifulapm
    @saifulapm 3 года назад

    Please do next Tuesday about Nvim Dap. Thanks

    • @teej_dv
      @teej_dv  3 года назад +1

      It won't be next tuesday, but it's on my list :)

    • @saifulapm
      @saifulapm 3 года назад

      @@teej_dv Great

  • @muhammadraza7231
    @muhammadraza7231 Год назад

    I am finding very difficult to add jump to next or previous placeholder. Help me Brother

  • @kyp0717
    @kyp0717 2 года назад

    If you don't use TAB for completion, what do you use? Please refer me to past video that discuss your prefer method for triggering completion. Thanks.

    • @teej_dv
      @teej_dv  2 года назад

      I use :help ins-completion for triggering completion when I need to, and let nvim-cmp do the rest in terms of auto-completing.
      I will try and make a video about it. It's 90% a joke anyway. You should do what makes you like Vim the most :)

  • @wormholecowboy
    @wormholecowboy Год назад

    Hey TJ, how can you get cmp to work with npm libraries?

  • @PratyushBharati
    @PratyushBharati 3 года назад +1

    Hey TJ, can you help me understand why nvim-lsp and it's associated ecosystem setups are really much more hands on (or maybe I'm doing it wrong) as compared to CoC. I have had to install everything from source as my org runs RHEL7.8 so I didn't even have node, rust, lua stuff. And on the two occasions I tried to setup nvim-lsp, it just took too long without having root access. Any words of advice?

    • @PratyushBharati
      @PratyushBharati 3 года назад

      Side note... I'm not a career programmer. I'm an electronics engineering, but just have lot of python stuff to develop for certain chip testing automation

    • @PratyushBharati
      @PratyushBharati 3 года назад

      Figured it out. Nvm. I love it now. So fast holy shit.

    • @teej_dv
      @teej_dv  3 года назад

      @@PratyushBharati haha I love this thread.

    • @PratyushBharati
      @PratyushBharati 3 года назад

      @@teej_dv Its actually allowed me to make an even more streamlined setup file, cause all node modules can be consolidated and initialised in a specific dedicated location rather than have each user of my .rc have to CocInstall

  • @QuentR1994
    @QuentR1994 3 года назад

    Really enjoyed that! Thanks 👏

  • @dimitardimitrov3421
    @dimitardimitrov3421 2 года назад

    Great video, as usual!
    I was wondering if (in a future video) you could explain in a bit more details for noobs like me what the difference/relationship/overlap of treesitter and LSP is. I mean they both do syntax highlighting for example? Should I install both? Sorry I tried reading on it but I got a bit confused

    • @teej_dv
      @teej_dv  2 года назад +1

      They have different focuses. LSP is focused on project level intelligence, tree-sitter is focused on file level intelligence. In generally tree-sitter is doing the highlighting. You can install both. I have a video somewhere on m channel w/ a brief comparison

    • @dimitardimitrov3421
      @dimitardimitrov3421 2 года назад

      @@teej_dv yeah I did a bit more reading on the subject and I have a pretty clear picture now, the comment is a bit old. Anyway, thanks Teej!

  • @adityakurdunkar6655
    @adityakurdunkar6655 3 года назад

    keep up such good content

  • @dontwanttousemyrealnametol6765
    @dontwanttousemyrealnametol6765 3 года назад

    How would you do something similar to "g:mucomplete#can_complete" (lifepillar/vim-mucomplete) with nvim-cmp?

    • @teej_dv
      @teej_dv  3 года назад

      Hmmm, I'm not familiar with this. I don't know of good analogues. Sorry!

  • @paologonzales4361
    @paologonzales4361 3 года назад

    Waiting for TakeTuesday: luasnip

    • @teej_dv
      @teej_dv  3 года назад +1

      it's on the list :)

  • @dulanjala
    @dulanjala 3 года назад

    so nice.... this is so good...

  • @johnysalas
    @johnysalas 3 года назад

    It's almost Tuesday :)

    • @teej_dv
      @teej_dv  3 года назад

      Haha sorry for the delays. It's actually that we stream the content on tuesdays on stream and then I have to put together a video. That doesn't always get released on tuesday. I am almost done with one and plan on trying to pump out another this week.

  • @MrChickenpoulet
    @MrChickenpoulet 3 года назад

    so awesome! thanks!

    • @teej_dv
      @teej_dv  3 года назад

      You are very welcome!

  • @majestic2814
    @majestic2814 2 года назад

    How would anyone use the default config with = cmp.mapping.confirm and select = true? It makes you unable to insert new lines. Am I missing something obvious about completion or new lines or is noone using the default?

    • @teej_dv
      @teej_dv  2 года назад

      I think it's only applicable when the completion menu is visible (so after it's not visible anymore, enter makes you do a new line)

  • @guilhermeferreira2068
    @guilhermeferreira2068 3 года назад

    Hey i've noticed that when u changed your config you run some tj#save_and_exec and that just reload your config, how can i reload with a keybind for lua config files?

    • @teej_dv
      @teej_dv  3 года назад +1

      I re-run files by doing `:source %`, but it just checks to make sure it's a valid filetype to do so.