The perfect Neovim setup for Rust.

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

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

  • @dreamsofcode
    @dreamsofcode  9 หลายเดือนก่อน +20

    NVChad has had some breaking changes since this video! It's recommended to using the v2.0 branch instead for this video. I'll be doing an updated version of this video again soon!.
    git clone -b v2.0 github.com/NvChad/NvChad ~/.config/nvim --depth 1

    • @sinau9501
      @sinau9501 9 หลายเดือนก่อน

      I'm excited to wait for future updates.

    • @AM-yk5yd
      @AM-yk5yd 9 หลายเดือนก่อน

      Subscribed for that

    • @dreamsofcode
      @dreamsofcode  9 หลายเดือนก่อน +3

      ​@@AM-yk5ydnow I have to deliver!

    • @techbytefrontier
      @techbytefrontier 9 หลายเดือนก่อน

      i was having a bad time trying to configure and only now i read here lol thanks gonna wait the update

    • @weiSane
      @weiSane 9 หลายเดือนก่อน +1

      @@dreamsofcodeI am using neovim nvchad but on windows (not through wsl2). And it seems on windows the file structures are different and it’s kind of tough following the tutorial since it’s for neovim on Linux. I was hoping when you do an updated video you could also touch a little bit how to do the config for those running nvchad on windows directly.

  • @richardbennett4365
    @richardbennett4365 10 หลายเดือนก่อน +19

    That presentation was crazy complicated. I understand most everything, but a few details escaped me. It just gets so deep with so many plugins.

    • @weeb3277
      @weeb3277 5 หลายเดือนก่อน +1

      might as well say what you didn't get
      maybe others can help

  • @sirgibsonable
    @sirgibsonable ปีที่แล้ว +48

    If you're following along on your own machine, you'll need to type `th` to bring up the "Set NvChad Theme" window as @Dreams of Code did @1:34. (`` is `space` by default).

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +3

      Thanks for mentioning this! It's also in my NVChad video as well which goes into more details on these commands.

    • @zkratch
      @zkratch ปีที่แล้ว

      @@dreamsofcode Can't find your NVChad video for the life of me.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      @@zkratch th-cam.com/video/Mtgo-nP_r8Y/w-d-xo.html I'll add it as a link.

    • @msandersen
      @msandersen ปีที่แล้ว

      Thanks, was looking for that.

    • @JR-hb6jr
      @JR-hb6jr 11 หลายเดือนก่อน

      Thank you very much.

  • @TwoDozenSigma
    @TwoDozenSigma ปีที่แล้ว +285

    You mean Rust ™

  • @DNA912
    @DNA912 ปีที่แล้ว +22

    this is perfect, finally a configuration that is beginner friendly and not just BLAZINGLY fast

  • @playnteverynt1394
    @playnteverynt1394 ปีที่แล้ว +15

    I feel like being watched. I was just thinking about starting to learn both neovim and rust at the same time this morning :D thanks for the amazing content

    • @skylonace
      @skylonace ปีที่แล้ว

      Dude, same I just installed neovim not even 2 hours ago

    • @Redyf
      @Redyf ปีที่แล้ว

      W

    • @handlehuang2552
      @handlehuang2552 10 หลายเดือนก่อน +1

      Now I'm doing the same thing:)

  • @alonelyproducer663
    @alonelyproducer663 ปีที่แล้ว +20

    This video is so good. It was difficult for me to get rust configured correctly after watching your first video. I greatly appreciate this.

  • @Tragicomedy2137
    @Tragicomedy2137 ปีที่แล้ว +1

    thank YOU for uploading all this code to github! i would never imagined myself to rewrite all that code

  • @j1d7s
    @j1d7s ปีที่แล้ว +12

    Thank you, this has been super helpful! I had been jumping around a bit between LazyVim, Astro, LunarVim, NvChad but now that I followed your setup and read the NvChad docs in detail (highly recommended for better understanding!) I think I finally have a stable base.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +2

      I agree, reading the docs is worthwhile!

  • @GeorgeFryd
    @GeorgeFryd ปีที่แล้ว +2

    amazing how much material can be packed into 11mins ! this really helped me on my way to becoming a rustacean :)

  • @stealthcopter7398
    @stealthcopter7398 ปีที่แล้ว +1

    Just followed this tutorial as well after watching your general neovim/nvchad video. Thanks a lot, this will help me to get easier started with Rust which is my plan for the next couple of months.

  • @benperd
    @benperd ปีที่แล้ว

    Thanks

  • @thepaulcraft957
    @thepaulcraft957 ปีที่แล้ว +4

    formatting can be achieved by using the built in lsp client. I'd simply use an auto command for formatting on save

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      I attempted this initially but kept running into errors in the console so decided to use the official plugin. If you have a setup that works id love to see it!

  • @mannuelf
    @mannuelf ปีที่แล้ว

    love this, thank you for making it.

  • @Saturate0806
    @Saturate0806 ปีที่แล้ว +3

    would love to have a dedicated video on DAP

  • @michrisoft
    @michrisoft ปีที่แล้ว +2

    Following along, I got to the debugging section at 7:15, but I have no "RustDebuggables" command present? There are a lot of Rust... commands, but that's not one of them. Any suggestions? I have lldb on my system from xcode, and can see that I can just type 'lldb' into the terminal and does execute.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      If you join my discord I can help take a look at your config and debug it with you.

    • @drheck
      @drheck ปีที่แล้ว

      Did you solve this? If I run `:Lazy` I can see that nvim-dap is installed but Not Loaded.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      @@drheck Are you making sure that rust-tools is loaded on rust filetype?

    • @michrisoft
      @michrisoft ปีที่แล้ว

      @@drheck I'm actually not entirely sure what happened, but I got busy and just left it for a couple of days and I just came back to configure a couple of other types of plugins and it's now there when I try to run it in a rust file. Maybe I just needed to manually run a `Lazy sync`

  • @vcbiotech
    @vcbiotech ปีที่แล้ว

    I needed this. THANK YOU SO MUCH.

  • @flexdash
    @flexdash ปีที่แล้ว +1

    Quality is on another level 🔥🥵

  • @zekrinealfa1113
    @zekrinealfa1113 ปีที่แล้ว +4

    If despite doing all of this, linting (the diagnostics in the text editor) doesn't work. I realized that the configuration didn't work if I had installed rust-analyzer with mason. However, installing it with rustup "rustup component add rust-analyzer", worked without issues"

    • @benzoaim
      @benzoaim ปีที่แล้ว +1

      i figured that might've been my issue too

  • @dreamsofcode
    @dreamsofcode  11 หลายเดือนก่อน +7

    Heads up! It looks like rust-tools.nvim no longer works. Instead it's recommended to use mrcjkb/rustaceanvim
    Please check my repo for how to use it!

    • @beast4000
      @beast4000 10 หลายเดือนก่อน

      good looking out! thank you!!!

    • @petter9078
      @petter9078 10 หลายเดือนก่อน

      I got it working on Windows after so long :D had a problem with the language server, which took me 10 hours to debug. Now I know..

    • @HirschyKiss
      @HirschyKiss 10 หลายเดือนก่อน

      Can you please re-make this video. linking to a repo that doesn't even have a readme is incredibly unhelpful.

  • @anatolyanatoly8037
    @anatolyanatoly8037 ปีที่แล้ว +3

    Thank you for the tutorial!
    I am learning vim and rust in parallel and your videos really helped me to find the joy in terminal based editors and customising them.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      I'm very glad to hear that! I hope you're enjoying learning rust as well!

  • @cherkim
    @cherkim ปีที่แล้ว +3

    Please do a more detailed nvim dap tutorial!

  • @pamirkantar400
    @pamirkantar400 ปีที่แล้ว +8

    Your tutorials are great, they helped me to finally start using neovim. I was wondering if you could do some tutorial like this for copilot. Making it work wasn't hard but I think we all would appreciate something that is more usable than default settings. Thanks for the tutorial, looking forward the next one!

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +2

      Thank you!
      Yes, absolutely. I'll add it to the list. Should be a quick one to get out as well. There's a few copilot plugins as well now and I use a non standard one as it has better integration (imho).
      Might be good to do a comparison of them.

    • @奇詹-k5u
      @奇詹-k5u ปีที่แล้ว

      @@dreamsofcode support !!

  • @eikothomas4937
    @eikothomas4937 ปีที่แล้ว +1

    Thank you, great walk through

  • @saadtaihh482
    @saadtaihh482 ปีที่แล้ว +2

    Is there any chance so i can combine this with the C++ set up .I will appreciate any help

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      There is! You should be able to combine it easily enough. You'll only want one set of each plugin and then just merge the configurations together i.e. ensure_installed { rust_analyzer } becomes ensure_installed { rust_analyzer, clangd }, etc etc

    • @saadtaihh482
      @saadtaihh482 ปีที่แล้ว

      ​@@dreamsofcodeThanks ❤❤

  • @TimeRoot
    @TimeRoot ปีที่แล้ว +4

    Please a more detail video about dap ui PLEASSEE

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Absolutely. There's a lot to explore!

    • @samselvaprabu
      @samselvaprabu ปีที่แล้ว

      Yes do a video on dap ui

  • @CubbyBear-cn5kh
    @CubbyBear-cn5kh ปีที่แล้ว

    9:47 how do i get this popup working for the crates? the latest version shows and rcu works but no auto complete

  • @zumatse
    @zumatse ปีที่แล้ว +1

    🎯 Key Takeaways for quick navigation:
    00:00 🚀 *Wprowadzenie do konfiguracji Neovim dla Rust*
    - Omówienie ustawień środowiska Neovim dla efektywnej pracy z językiem Rust.
    - Zalecenie użycia NVChad jako bazowej konfiguracji.
    - Wskazówki dotyczące instalacji i weryfikacji najnowszej wersji Neovim.
    02:04 💻 *Konfiguracja LSP i Rust Analyzer*
    - Ustawienie LSP (Language Server Protocol) w Neovim dla Rust.
    - Instalacja Rust Analyzer za pomocą Mason i konfiguracja w Neovim.
    - Modyfikacja ustawień LSP, aby zapewnić lepsze wsparcie dla Rust.
    04:20 🛠️ *Ulepszenia w automatycznym formatowaniu kodu i debugowaniu*
    - Dodanie automatycznego formatowania kodu przy zapisie za pomocą oficjalnej wtyczki Rust Vim.
    - Wprowadzenie możliwości debugowania kodu Rust w Neovim.
    - Konfiguracja dodatkowych narzędzi i wtyczek do ułatwienia debugowania.
    Made with HARPA AI

  • @benzoaim
    @benzoaim ปีที่แล้ว

    appreciate this video!

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      I'm glad you enjoyed it!

  • @juancarloselorriaga6171
    @juancarloselorriaga6171 ปีที่แล้ว +3

    For some reason I get an error all around the place: The same file is required with different names. Any idea on how to solve this issue?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      If you jump on my discord it might be easier to share a screen shot of the error you've got!

    • @arumaga
      @arumaga ปีที่แล้ว

      same issue here

    • @Koyotte01
      @Koyotte01 10 หลายเดือนก่อน

      how to solve ?

  • @johnwick2018
    @johnwick2018 ปีที่แล้ว +3

    I was using vscode until last february and tried to change into nvim but every tutorial I watched had different setup instructions and different methods and all that sttuff. Then I saw you video and setup nvim with rust like this setup.
    Then I tried installing some plugins for pytthon but the config was complicated. Then I installed helix editor and going good so far.
    LSP support is good, config is also easier considering that I dont have much experience with modal editors.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Helix is pretty awesome, and has some easy to use defaults whilst keeping very VIM like. I'll probably do a video on setting up Neovim for python at some point as well!

  • @tngdwn8350
    @tngdwn8350 10 หลายเดือนก่อน

    Great tutorial!
    Is there a way to jump to the proper documentation when typing a command? Because sometimes the floating window states something like "See the [module documentation](self) for details" and I haven't found a way to directly open it.

  • @lkbasgiohbasg
    @lkbasgiohbasg ปีที่แล้ว

    at 4:15 on my installation I get "Module" suggestions, like `seq`, but don't see any "Interface" or "Function" suggestions. new to rust and neovim

  • @amoohesam
    @amoohesam ปีที่แล้ว

    Great video! Thank you

  • @MunzirSuliman
    @MunzirSuliman 7 หลายเดือนก่อน +1

    "I am using Arch btw" , you made this video to say this

  • @alonelyproducer663
    @alonelyproducer663 ปีที่แล้ว +3

    Please do more rust videos.

  • @swinchen
    @swinchen 10 หลายเดือนก่อน

    Thank you for providing the git repo. Is there a way to keep the different "custom" repositories separated? For example, it would be nice to be able to keep the rust configuration separated from the c++ instead of trying to merge the two "custom" repositories together.

  • @RenderingUser
    @RenderingUser ปีที่แล้ว +1

    Any chance you'll cover Neovide?

  • @vivekchowdhary1140
    @vivekchowdhary1140 ปีที่แล้ว

    @dreamsofcode have you found a way to get rust-tools to use the cargo installed rust_analyzer instead of the one from Mason?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      If you jump on my discord I can help you out some more.

  • @Cruzylife
    @Cruzylife 4 หลายเดือนก่อน

    any chance you will make a rustaceanvim set up video?

  • @BrazenNL
    @BrazenNL ปีที่แล้ว

    After I press "r", there is no mention of "cu" to update all the crates. Would it be possible to add that?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      You can do so in the mappings file! If you jump on my discord I can help you :)

  • @pijusmagnificus6382
    @pijusmagnificus6382 ปีที่แล้ว +1

    I followed the instructions in arch and the nvim-dap configuration does not work for me. Is any extra configuration necessary?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      If you jump on to my discord I can help take a look!
      Make sure you have lldb installed as well.

    • @pijusmagnificus6382
      @pijusmagnificus6382 ปีที่แล้ว

      @@dreamsofcode Thank you for replying. lldb is installed. I can't access your discord. Apparently it works, I can set breakpoints, when I run :RustDebuggables instead of an arrow I get an R, and with spc+d+u+s the screen splits but no debug info.

    • @daixso
      @daixso ปีที่แล้ว

      @@pijusmagnificus6382 Same for me

  • @garotalibertaria7219
    @garotalibertaria7219 ปีที่แล้ว

    I loved this video, but since I don't understand much about Linux, I wanted to understand one thing. For example, if I install nvim, can I configure it and add the plugins I like the most, right? So, is it a good practice to create the configuration files in a folder that doesn't interfere with nvim? Or can I do everything in nvim's folders?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      The custom directory is added to the gitignore of NVChad so it should be safe from modification by anything else. You can also set it up as a git repository itself so you can keep your config version controlled!

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Appreciate the feedback btw!

  • @soyasher9965
    @soyasher9965 ปีที่แล้ว +1

    use space + t + h to switch themes!

  • @leonardovillalobos5277
    @leonardovillalobos5277 ปีที่แล้ว

    Thank you so much!! Much appreciated 😊

  • @josesanchezfernandez9043
    @josesanchezfernandez9043 ปีที่แล้ว +1

    Awesome video! Very informative, clear and to the point. Also the quality of your videos is outstanding mate. Could it be possible to have the dotfiles somewhere for the next video? It could help a lot in order to check the correct configuration at the end of the setup.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +2

      Thank you for the feedback 🙏. That's a great idea. I'll make sure to do that.

  • @faysoufox
    @faysoufox ปีที่แล้ว +2

    One idea from the primeagen nvim videos, you could display which keyboard keys you press for vim beginners, there must be some program to do this

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Yes, I think this is a good idea! I'll look into what program exists for Linux

  • @tigermanni
    @tigermanni 11 หลายเดือนก่อน

    I am getting clone failed with rust-tools, is this due because the project is archived?
    also an update using rustaceanvim would be nice, if you recommend it :)

  • @HosseinOjvar
    @HosseinOjvar ปีที่แล้ว

    Thank you man, You are actually an angel, You saved my day :*

  • @ronakmishra8996
    @ronakmishra8996 ปีที่แล้ว

    On distros other than arch . The version of neovim that is getting installed is 0.6 for some reason.
    And while upgrading it , it says you’re already on the latest, which is not right.
    Do you know some fix for that?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      You may need to use a Neovim version management tool or build/download from Github.

  • @homeape.
    @homeape. 11 หลายเดือนก่อน

    there are so many questions i have about this,
    isnt mason already installed with nvchad automatically?
    why not just open :Mason and install rust analyzer there?
    does whatever we do have benefits to that? is it practically the same?

    • @dreamsofcode
      @dreamsofcode  11 หลายเดือนก่อน +1

      I prefer to write the configuration as code. This way whenever I move to another machine, my Neovim config is already defined rather than having to remember which dependencies I need to install

  • @Maxelya
    @Maxelya ปีที่แล้ว

    Not related to the rust config, but does anyone knows which nerd icon (?) he uses to get those sweets half-cornered lualine sections at 2:15 (left side).
    Is this part of the NeovimChad ? I couldn't find this one on nerdfont icons.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      I'm using JetBrainsMono Nerd Font! Nothing else configured. Should just be whats on the arch user registry as well.

    • @Maxelya
      @Maxelya ปีที่แล้ว

      @@dreamsofcode I do too use jetbrainsmono font with Neovim, but on my (vanilla) lualine config I need to manually define which icons I want to use as "component separator" , and I can't figure out which one you're using :/ I tried looking at NeovimChad default config but it didn't help much.

    • @Maxelya
      @Maxelya ปีที่แล้ว

      Oh ! I'm starting to think there might not be a "half-cornered" component at all.
      It looks like you're using the normal "half-triangle" separator, but at the start of the video, your terminal window might be a little too small and thus, the component gets "cut" half-way.
      That's kinda sad this is just a graphical issue, because it looks incredible ^^. (Looks like I'll have to learn how to edit my nerdfont to add this new glyph :D )

  • @eshanchatterjee1250
    @eshanchatterjee1250 11 หลายเดือนก่อน

    I need some help. My rust project needs to take a cli arg, and I cannot configure dap to take the args needed for my project

  • @norude
    @norude 10 หลายเดือนก่อน

    what about adding underlines for mutable variables?
    It's on by default in vscode, and I miss it in nvim

  • @spr3ez
    @spr3ez ปีที่แล้ว +2

    As always a great video!

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +3

      Thank you so much! This is the first video after I had acoustically treated my office! Helped speed up the process so much

    • @alonelyproducer663
      @alonelyproducer663 ปีที่แล้ว

      I totally agree with that

  • @irlshrek
    @irlshrek ปีที่แล้ว

    Really well done video!!

  • @kayneferreira1071
    @kayneferreira1071 11 หลายเดือนก่อน

    OMG, gimme that wallpaper, i need it!!!
    Nice videos by the way, big fan!!!

  • @kamism770
    @kamism770 ปีที่แล้ว +3

    I have some concerns, this is a very good video with a very good quality but it really feels like "magic" or "just works" thing, and as a person who really likes tweaking and especially with knowing the "why" and the "how" I'd really be thankful if there is some sources or docs that can help me to do so : ), and again, this is a very good video, as always ; ).

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +2

      It might be useful if I do a video on creating a Neovim plugin!

    • @kamism770
      @kamism770 ปีที่แล้ว +1

      @@dreamsofcode that might be a great idea, as u can explain the "why" thing and less "to got B do A" thing, no offense tho but i really think that will add a new whole dimension to the videos as they will become more oriented towards inspiring a self help config and independent configuration if that make sens : ) and keep the work up ur doing an amazing job on rising this channel

  • @0xggbrnr
    @0xggbrnr ปีที่แล้ว

    What are the hot keys on Mac? CMD doesn’t work.

  • @leifelliott1500
    @leifelliott1500 ปีที่แล้ว

    I would love to see a video more in depth about NVDapp.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      I shall add it to the backlog!

  • @richardbennett4365
    @richardbennett4365 6 หลายเดือนก่อน +2

    Good stuff. So complicated!
    😮
    I managed to get through the whole setup.
    I saw chris@machine has a 5-hour-long Neovim setup. Perhaps it's why he decided to write the LunarVim project.
    😅😊😮

  • @sunilthunga5662
    @sunilthunga5662 ปีที่แล้ว

    Suppose the wrote the code in rust how do i run the code, is there a shortcut or should i go again to the terminal to cargo run?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      You can run the code using the RustRunnables command within Neovim. Personally I just open up a terminal to run the code, which you can do using SPC + h in NVChad.

  • @igr1x
    @igr1x 9 หลายเดือนก่อน

    Tell me, please, I'm trying to make auto-completion turn on only when pressing CTRL SPACE, but nothing comes out(

  • @williamokano
    @williamokano ปีที่แล้ว

    Even if I set rustfmt_autosave = 1 in the init function, it get the value 0 when I'm in a buffer with a rust file. Couldn't find the issue

  • @jpratt8676
    @jpratt8676 ปีที่แล้ว

    Recently installed NVChad and it didn't even start... Are they only supporting a hyper recent nvim or something?

    • @jpratt8676
      @jpratt8676 ปีที่แล้ว

      Ah, answering my own question: WSL has Nvim ~0.4 super old. Nice....

  • @kevincloinger3328
    @kevincloinger3328 ปีที่แล้ว

    Any idea why i getting error saying lldb-vscode is missing? I am on unbuntu system.

  • @Saturate0806
    @Saturate0806 ปีที่แล้ว

    How would you configure clippy in this setup?

  • @dmitriyivanich1088
    @dmitriyivanich1088 ปีที่แล้ว

    If I try running my console executable with dap, it won't provide any output or react to input. While if I try to debug the same up with lldb directly, the app acts as usual. Moreover, I get lldb-vscode exited with code error in nvim, after the app completes its work (and no errors if I do it with lldb directly).

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Are you using any blocking calls for capturing input?

    • @dmitriyivanich1088
      @dmitriyivanich1088 ปีที่แล้ว

      ​@@dreamsofcode I am new to rust. So, I am not sure what is blocking call. It's just "hello world" app, with following code in main:
      println!("Hello, World");
      let mut y: String = String::new();
      io::stdin().read_line(&mut y).expect("Failed to read line");

  • @gyrozepelix
    @gyrozepelix ปีที่แล้ว

    What desktop env you use and what console, it looks so clean and i want it xD

    • @gyrozepelix
      @gyrozepelix ปีที่แล้ว

      Kinda got bored of pure kde on my rust

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      I use Alacritty and zsh for my terminal. As well as Tmux.
      I have a video coming out soon on my Tmux config!

    • @gyrozepelix
      @gyrozepelix ปีที่แล้ว

      @@dreamsofcode a great, thanks for the helping the community o7

  • @murilokomoda6649
    @murilokomoda6649 ปีที่แล้ว

    lsp is working ok, but i cant get it to autocomplete std and other builtin libraries

  • @asimocloud5736
    @asimocloud5736 7 หลายเดือนก่อน

    How do you install lldb on windows though?

  • @Skylla54
    @Skylla54 ปีที่แล้ว

    a full guidethruh for nvim dapp, would be amazing < 3
    I feel a little bit lost and lost motivation multiple time^^

  • @Grimkittycat
    @Grimkittycat ปีที่แล้ว

    Nice video but the problem is that it is with chad, it is confusing to set up with my custom nvim setup

  • @dixztube
    @dixztube ปีที่แล้ว

    Fireship vibes.

  • @ameer6168
    @ameer6168 ปีที่แล้ว

    can you do the same video with react ?

  • @seangarvey4766
    @seangarvey4766 9 หลายเดือนก่อน

    After doing this, my editor doesn't show if there are any syntax errors in real-time. Is this normal? If not, how the hell do I fix it?
    For example: if I code, "printf("foo"); The syntax highlighting for "printf" still shows that is correct. Can anyone help?

  • @GlobalYoung7
    @GlobalYoung7 ปีที่แล้ว

    Thank you ❤❤

  • @areeburrehmankhan1166
    @areeburrehmankhan1166 ปีที่แล้ว +1

    Hey great video man.❤I was just thinking can you also do a go Lang set up in neovim because I want to use neovim with golang.

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Sure! Ill add that to the list as well!

    • @areeburrehmankhan1166
      @areeburrehmankhan1166 ปีที่แล้ว

      @@dreamsofcode Wow man never thought I would get a reply. just watched your setting up nvchad video. It was first time ever using nvim. Was a bit confusing and did not understand many things but also learned a lot and was also able to get a basic understanding how things work,how plugins are installed and some other basic stuff. All thanks to you man. Love your work ❤.

  • @crusader_
    @crusader_ ปีที่แล้ว

    For some reason the cargo crates auto completion doesn't work :(

  • @mahmudh1274
    @mahmudh1274 ปีที่แล้ว

    Can you please make a video of your iterm and statusline set up please?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      You should be able to view it on my Tmux video! I use Alacritty instead of iterm however.

  • @ezraklitsie9253
    @ezraklitsie9253 ปีที่แล้ว

    For some reason rust-analyzer isn't working, i dont get any code completions after following your steps. Im on NVCHAD, and followed your tutorial for setting it up

    • @ezraklitsie9253
      @ezraklitsie9253 ปีที่แล้ว

      My lua code is covered in 'same file required with different names' errors as well and im not sure if that's related

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      If you jump on my discord I can help!

  • @papato20
    @papato20 ปีที่แล้ว

    where i write the rustup command?!!!! helpppp!!

  • @maguilecutty
    @maguilecutty ปีที่แล้ว

    anyone know how i can get teh ui to show the actual values instead of just vecs like this? payloads: alloc::vec::Vec @ 0x7fffffffbd40
    kind of renders my debugger pointless...

  • @fineworld-s1f
    @fineworld-s1f ปีที่แล้ว

    Thanks! I did the same, but had errors: Client 1 quit with exit code 1 and signal 0. LspInfo show that not root directory

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      This happens some times when the mason lsp is not in the path. I'd try running `rustup add component rust-analyzer` and see if that helps.

    • @pashok1641
      @pashok1641 ปีที่แล้ว

      ​​@@dreamsofcode yep, that helped, thank you
      P.S there is a little typo in a command it should be - `rustup component add rust-analyzer` for those who would run into this error

  • @cbbcbb6803
    @cbbcbb6803 ปีที่แล้ว

    Can NeoVim be configured to start-up into input mode?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      That's a good question. I've not attempted to do so but I'm sure you could add an auto command whenever you open a buffer

  • @maxxue5997
    @maxxue5997 ปีที่แล้ว

    another banger vid

  • @MarcRey98
    @MarcRey98 ปีที่แล้ว +2

    It will be quite useful the same type of video but Python instead of Rust

  • @happy_robot
    @happy_robot ปีที่แล้ว

    can u please make video configuring nvchad for zig development?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      A great idea. I've added it to the backlog!

  • @omestredd3
    @omestredd3 ปีที่แล้ว

    This is really great! thank you so much for putting this together!!!

  • @naczu
    @naczu ปีที่แล้ว

    Hi!. Can you please make a video how to add php setup to this golang setup ?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      php is added to the backlog! Is there anything framework specific such as with Laravel?

    • @naczu
      @naczu ปีที่แล้ว

      ​@@dreamsofcode Thank you! Yes laravel support would be really amazing.

  • @256k_
    @256k_ ปีที่แล้ว

    and here i thought all i needed to do was to have neovim lsp going and have rust analyzer and rust tools installed.

  • @younesmdarhrialaoui643
    @younesmdarhrialaoui643 ปีที่แล้ว

    Did anybody get "Error running lldb-vscode: ENOENT: no such file or directory" ? I have lldb installed on my mac...

    • @fottymutunda6320
      @fottymutunda6320 ปีที่แล้ว

      If you installed it with brew you can try adding this to your .zshrc
      export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
      export LDFLAGS="-L/opt/homebrew/opt/llvm/lib"
      export CPPFLAGS="-I/opt/homebrew/opt/llvm/include"

    • @elorrambasdo5233
      @elorrambasdo5233 ปีที่แล้ว

      I am. Any luck?

    • @younesmdarhrialaoui643
      @younesmdarhrialaoui643 ปีที่แล้ว

      ​@@fottymutunda6320 No lldb was already installed. I don't even know how I could install with hombrew... when I do brew install lldb it says that I there is no such thing

    • @younesmdarhrialaoui643
      @younesmdarhrialaoui643 ปีที่แล้ว

      @@elorrambasdo5233 nope not yet

    • @fottymutunda6320
      @fottymutunda6320 ปีที่แล้ว

      @@younesmdarhrialaoui643 brew install llvm

  • @jackle3002
    @jackle3002 ปีที่แล้ว +1

    it would be beneficial to know what commands you're typing sometimes..

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Agreed. I've made some steps to improve on that in my more recent episodes.

  • @lucascirille703
    @lucascirille703 11 หลายเดือนก่อน

    I need some help, in my autocomplete i have to choose snippets only, i dont have methods or other things, somebody can help me?

    • @lucascirille703
      @lucascirille703 11 หลายเดือนก่อน

      its solved, only i have to do is create a cargo.toml 😅

  • @abergod280
    @abergod280 ปีที่แล้ว

    Can you do a Java Setup please? i've trying but i can't get it to work

  • @ArgiSanchez
    @ArgiSanchez ปีที่แล้ว

    your videos are great .. can you help us howto to integrate correctly nvim-dap-ui into NvChad .. thanks in advance

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว +1

      Absolutely. I should be able to do a quick video on this as well.

  • @MegaPacoquinha
    @MegaPacoquinha ปีที่แล้ว

    Why do you configure lsp via files and not using Mason?

    • @dreamsofcode
      @dreamsofcode  ปีที่แล้ว

      Not sure I understand the question? You mean through the config files, instead of on the mason UI?

    • @MegaPacoquinha
      @MegaPacoquinha ปีที่แล้ว

      @@dreamsofcode yeah! Doesn't mason configure everything? I am still a beginner on neovim

  • @guidoeduardo
    @guidoeduardo ปีที่แล้ว

    You saved me, why? - Monkie to Oogway
    Great video 😁

  • @markjenkins9424
    @markjenkins9424 ปีที่แล้ว

    To all the arch users... Using Gentoo and Open BSD btw

  • @smarterlife7331
    @smarterlife7331 ปีที่แล้ว

    Fan of your videos! Can you create a playlist about Arch Linux best practices or ricing?