The perfect Neovim setup for Go

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

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

  • @dreamsofcode
    @dreamsofcode  8 หลายเดือนก่อน +24

    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

    • @ryancloud-r9c
      @ryancloud-r9c 8 หลายเดือนก่อน +2

      I really like your videos, is it possible to setup a full course on nvim from scratch ? instead of using nvchad?

    • @dreamsofcode
      @dreamsofcode  8 หลายเดือนก่อน +5

      @@ryancloud-r9c thank you! Yeah I'm leaning towards a from scratch course / video. Currently playing with some ideas of how I can differentiate it from other ones but I think I have an idea!

    • @ryancloud-r9c
      @ryancloud-r9c 8 หลายเดือนก่อน

      Awesome, thank you so much @@dreamsofcode.

    • @BearsDontStack
      @BearsDontStack 8 หลายเดือนก่อน

      Eagerly awaiting the updated video!

    • @v_util
      @v_util 8 หลายเดือนก่อน +2

      can't wait for updated version of this great setup! thanks a lot for your work

  • @dmz985
    @dmz985 ปีที่แล้ว +38

    I'd really love to see a video about your arch setup (WM/DE, programs you use, especially your video editor / encoder). Top quality content.

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

    I'm just starting with nvim and as someone who doesn't know a lot of lua, or nvim config, your video helped a ton. It was one of the most simple setups to quickly get started with go.
    Thanks man, keep up the good work.

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

    This is just what ive been looking for. Thank you very much for this awesome content! Comming from 3 years of vscode, setting up neovim from scratch was pretty challenging specially because id never spoke lua before. Thanks! :wq

  • @myoungbae8169
    @myoungbae8169 ปีที่แล้ว +10

    Thank you so much for this. I have been wanting to make the jump into neovim for a long time and I think this has done it for me. Amazing content! It would be amazing to see a setup for Typescript & React for more FrontEnd work setups :)

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

      Ive got it on the backlog!

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

      Coming here to +1 on a Typescript video too, that would be awesome.

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

    You can also install the go formatters using Mason, by adding `golines` `goimports` etc to your mason ensure_installed table. Shout out to @dattien6212 for this suggestion.

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

      Do u use Gnome?

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

      @@natancosta2017 I do for recording!

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

      i can't install goimports_reviser with mason.nvim

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

      @@darthvader4899 Because it's not in mason

    • @meritocratik
      @meritocratik 3 หลายเดือนก่อน

      @@darthvader4899 maybe late, but you need 'goimports-reviser'

  • @spacewad8745
    @spacewad8745 ปีที่แล้ว +44

    i was the 70th like. i am sorry for I have ruined the harmony of the world.

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

    This is by far the best run through of setting up neovim for Go programming, hands down. Thank you sir. Thank you

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

    Yes. Yes Yes. Finally man you can't believe how much I waited for this specific video. And when you mentioned it on discord that you were gonna upload Man I just kept checking your channel.

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

    I saw your more recent videos of neovim language configs, and was wondering where the go one was. Awesome video!

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

    Earned a sub. Looked at the rest of your videos and it's amazing the quality of content you are putting out. Keep up the good work.

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

      Thank you! I have a new one coming out this week that I've tried a lot of new concepts with. Hoping this one comes through really well!

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

    One for Elixir would be great! I have it setup on my machine but it would be cool to see if you do it differently. Great videos!

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

      Absolutely! Elixir is an awesome language.

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

    Hey, I also use Arch, btw... nice to meet you!

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

    AND THERE IT IS FOR GO; AS IF YOU'D KNEW I HAVE TO DO A PROJECT IN IT; AAAH!!!!!

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

    For Go syntax highlighting, consider adding "gomod", "gosum" and "gowork" as well

  • @brunojesus5444
    @brunojesus5444 11 หลายเดือนก่อน +3

    Thank you for this setup. There's one thing missing for me, you shown how to debug tests, but what if I want to start a file and debug it?

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

    Great video. It's going to take me a while to modify my config on top of nvchad default and the plugin ray-x/go.nvim to make things work well, but you showed me how to do something that was bothering me a ton. I think it would be good to show I to do formatting without more that gopls, for people like me wants to use as less plugins as possible until they get a good understanding on the basics. Thanks!

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

      That's a good suggestion! I went with null-ls so one can build off of, but keeping it simple is also a good idea.

  • @martindimitrov8547
    @martindimitrov8547 ปีที่แล้ว +5

    Also, it would be cool if you made a video show asking your workflow: your most used commands and flow of vim + tmux

  • @valdikamenarov8630
    @valdikamenarov8630 8 หลายเดือนก่อน

    Would've loved to see a way to run unit tests from within your setup. Apart from that awesome setup!

    • @dreamsofcode
      @dreamsofcode  8 หลายเดือนก่อน

      I'll be redoing it soon and will add unit tests in next time!

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

    I watch 7 minutes of your video and follow in half a day to config my neovim

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

      I'm hopefully going to make it easier to follow in the future! Stay tuned for that.

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

      @@dreamsofcode btw your video is great. Keep it goingg

  • @ArthurSantos-lq9gi
    @ArthurSantos-lq9gi ปีที่แล้ว +1

    First of all, great video!!
    I'm also using NvChad thanks to you, you have freed me from using the old 'vi" for years. I just have one problem with NeoVim which is Lua. For instance, how would the final configuration be, if I wanted to merge the Rust configuration you made previously, with this one? I think you could make a video on this, or a shorts, after seeing people here on this comment section asking for more languages.
    Lastly I found a typo on the splits for the "Debugging" section.
    Thanks for the time and effort making very high quality content.

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

      Thank you for the feedback! And for spotting the typo.
      As for merging, you should just be able to apply the same process but just add the additional fields, rather than replacing anything. i.e. for mason
      ```
      ensure_installed {
      "rust-analyzer",
      "gopls"
      }
      ```
      and for the lsp you'd have two entires, one for lspconfig.gopls and one for lspconfig.rust_analyzer.
      A short is a great idea! I may also set up a website with an faq as well.

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

    Lots of insight here, delivered with great pacing, thanks.

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

    Great video! Learn a ton and got a great neovim env for Go!
    One thing though, looks like gopls doesn't have the completeUnimported option anymore (4:02) and the behavior is there by default now.

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

      Thank you!
      That's good to know! Thank you for sharing.

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

    I must say, it was amazing! I would like to see how to add more details, like opening all "debugging stuff" automatically on debug start. Nevertheless, using neovim as primary IDE has been achieved. Thanks!

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

      If you check out my python video, I've improved on the debugging UI, and you can apply the same configuration to Go 🙏

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

      @@dreamsofcode thanks! Done, my setup is wonderful 💯

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

    Ayoooo debug was so essential i couldn't bother to set it up on nvim and went back to goland

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

      Now you can use my config :)
      To be fair, I want to improve the debugging experience further using nvim-dap-ui which provides even better ui features for debugging.

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

    Really great !
    what is you terminal font if you mind ?
    Thanks

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

    Your videos are way better than the best Netflix shows

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

      Haha thank you! That's such nice feedback.

  • @bijayaprasadkuikel5162
    @bijayaprasadkuikel5162 4 หลายเดือนก่อน +2

    This needs to be updated for 2024, I could not set up my neovim as per the instruction.

    • @gost
      @gost 9 วันที่ผ่านมา

      It is sad that I did not find your message earlier. Did you find any solution?

    • @bijayaprasadkuikel5162
      @bijayaprasadkuikel5162 9 วันที่ผ่านมา +1

      @@gost No, i left the idea of using neovim, i am happy with goland and phpstorm.

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

    First time in my life watching a TH-cam video that was posted minutes ago. 😅. By the way I subscribed to this channel this morning!

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

      Thank you! I'm glad you liked it.

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

      It's me supposed to say Thank you for teaching me things for free! Thank you so much sir!

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

    I'm a big Go user so super thanks for this! Can you set up TypeScript as well? (Can't escape JS land :) )

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

    Top tier content and more every time.
    This channels gonna blow up.

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

    Great!! Thanks so much for the content! You have a great future ahead

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

      Thank you! I really appreciate hearing that.

  • @aleatoirealeatoire-s2j
    @aleatoirealeatoire-s2j 2 หลายเดือนก่อน +1

    I friends ty for your video, i'm trying to install nvchad like you install in this video but that's not work, I'm required to install the version 0.9.0 because i have for now the 0.9.5 for work or that's work with all version of neovim ?

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

    This is amazing! Would like to see a setup for python as was a lot more work (at least for me). Ruff seems promising.
    Edit: found your python video. Thanks!

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

    Thanks, this helped me move from vscode to nvim. This is amazing only one issue with this tutorial. Catppuccin is the worst theme :P other than that solid. Thank you so much.

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

    I have switched to astrovim but i am havin a hell of a time figuring out the configs lol

  • @jonathanwilson8809
    @jonathanwilson8809 8 หลายเดือนก่อน

    You can use tree sitter for better syntax highlighting

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

    Truely an underrated channel. Hope your growth soon becomes proportional to 2^n

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

      Thank you. I appreciate that a lot!

  • @brendankerr148
    @brendankerr148 11 หลายเดือนก่อน +2

    Looks like null-ls was archived recently. Any thoughts on this? Thinking of running with null-ls for the time being on my new neovim setup until the formatting starts failing. Hopefully by then there should be some good alternatives. I haven't seen much but haven't looked too much and am pretty new to neovim community.

    • @SulemanKhan-kn9mj
      @SulemanKhan-kn9mj 10 หลายเดือนก่อน

      you can use none-ls which is same package with different name

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

    Amazing! Which nerd font do you use?

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

      I use JetBrainsMono Nerd Font!

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

    If you don't mind me asking, what do you use for recording your terminal? The background and perspective are beautiful!

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

      I use ffmpeg and a lot of motion animation! I'm actually going to start building these out into products so others can do the same also!

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

    Alacritty + tmux + AstroNvim
    BONUS: Rust based cli tools, like exa and bat

  • @seandougherty3022
    @seandougherty3022 8 หลายเดือนก่อน

    Now that null-ls is a public archive and no longer maintained, do you plan to redo your series of setups that use null-ls? It's a shame it was archived but here we are. For this series, we could use mason to install the formatting tools and then, for example, when using lspconfig, just pass the gofumpt setting to gopls.
    just a thought :) thanks for the great series of setup videos!!

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

      I will be redoing it soon! For the mean time you can drop in none-ls instead as it's a drop in replacement!

    • @seandougherty3022
      @seandougherty3022 6 หลายเดือนก่อน

      @@dreamsofcode that's great to hear. yeah i was looking at none-ls and was going to attempt the drop-in and go from there :)
      looking forward to the redo. thank you for all of your hard work, it's appreciated.

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

    Great tutorial from the goat. Would love to see a Python one...

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

      Its coming! I've got it in the pipeline

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

    Idea: continue from this setup and build up on it (like a series). Maybe next you can add typescript!

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

      Agreed! I've got a few in the backlog to add up next. Typescript will be one of them

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

    Really love this video! Thank you, sir!

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

    A nice C/C++ setup video would be greatly appreciated

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

      I shall add it to the list!

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

    nice, you should do one for Typescript/React

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

      I shall add it to the backlog!

  • @MrDiniz-w4p
    @MrDiniz-w4p 8 หลายเดือนก่อน

    Hi, thanks for the video! What terminal font do you use? On mine the icons don't appear

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

    These videos are awesome. Can you make one for nodejs, typescript coding?

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

    settings = {
    gopls = {
    staticcheck = true,
    }}
    Statickcheck in order to avoid redundant code, it's a strong help

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

    Thanks for the video. Awesome work!

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

      Thank you for watching! Glad you enjoyed it.

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

    Good stuff 👌🏽
    Could you do that, but for C++ and CMake?😅
    Thanks, Man.

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

      I can do! Added to the backlog.

  • @raymondong349
    @raymondong349 8 หลายเดือนก่อน

    hello, thank you for the video, you've earned yourself a subscriber!
    I'm getting started with NvChad and having some difficulty understanding how the config works. Could you help me please?
    1. in 9:49, we use init field for loading key mapping for nvim-dap but config field for loading key mapping for dap_go, why is that?
    2. Is this the preferred way for setting keybinding for nvChad? Also, I can’t see how load_mappings is linked to fetching the table from mappings.lua to get the key mapping 😅
    Thank you so much for your help!

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

    Can you do a video on how you would set up multiple languages. I get the concept but would help to see examples

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

    Love it! Thanks a lot!

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

    Great video! Do you know if there is an easy way in nvim to run a single sub tests, particularly those written using maps ?

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

      I don't believe it's possible unfortunately. I'm not sure if it's possible to run a single table test with just the `go test` command either.

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

    I wish this was easier to setup. A meta package might be in order.

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

    Nice video! I have a question since I watched the NvChad video. Is there a way to execute the various installs/updates through NvChad o masoninstall from command line? I wrote an ansible playbook for some configs in vim and nvim and I wanted to install all through that

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

      Hmm that's a good question. I'm sure there is but I'll have to dig it. I just tend to use git to manage my config. Mason itself can be used more than I'm using in the video, which is my mistake!

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

      Look, I think that I kinda did something through the custom files in Jinja template format. When I'll push and redefine all, I could make it public

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

    TOP quality content! Thank you sooooo much!!

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

      Thank you for watching! I'm glad you enjoyed it!

  • @JOker-iz9nk
    @JOker-iz9nk ปีที่แล้ว +4

    Hey, thanks for this :) Could you do one for Python?

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

      I can!

    • @JOker-iz9nk
      @JOker-iz9nk ปีที่แล้ว +1

      @@dreamsofcode Hell yeah awesome, getting into neovim has been soooo much easier with all your videos. Cheers! :)

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

      l would also like to see this kind of setup for python! It' s so clean and fast!

  • @0xAlx
    @0xAlx 8 หลายเดือนก่อน

    Is to possible to make a video for Java / Kotlin ? (Kotlin would be better :P ), awesome video BTW

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

    Would you do one for typescript/react?

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

    Thanks for these videos, not many on nvchad. Could you do one on python + dap?

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

      I absolutely can and will;

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

    7:05 Debugging is misspelled on the video section tooltip

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

    What is your perfect terminal emulator? Looks so nice. I'm on macos and use warp (yeah I know telemetry etc, but this is so beatyful), but looking some for backup.

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

      I use Alacritty! Warp does look nice but as you mentioned. I've just picked up a Mac for creative work so may give warp a little try. I have alacritty on it currently however.

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

    Isnt null ls archived?

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

    You see that red line error that the LSP gives when you make an error, is there a way to give it a max charecter limit for example for each 30 charecter make a new line

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

    Man, you make it look so simple.
    I'm struggeling to wrap my head around all of this stuff.
    Between `zero-lsp` `lspconfig` `null-ls` its all just a confusing mess. The documentations are either none existing, to sparse or to detailed for my ADHD brain to handle.
    nvChad puts its own config layer on top of all of that and provides no usable documentation either. (Although their Website looks pretty, I'll give them that)
    I was able to follow your Video until the "Auto Format on Save" part. that one just does not want to work.
    No errors, nothing. Functions and go packages are installed.
    Running the :lua vim.lsp.buf.format() command by hand works fine too.
    In addition some of my projects need specific build flags. how can I set these on a per Project basis?
    I'm concidering going back to VSCode but their VIM-Support sucks. Maybe learning VIM was a mistake after all.
    Sorry for crying my heart out. I've wasted all day. trying to make this somehow work and I just don't want anymore.

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

    Is this better than go-vim?

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

    NvChad is totally different out-of-the-box now just 2 months later.

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

    Tell me more about the nice Vim icon that indicates the mode you're in. :)

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

    Would you mind doing the setup demo for OCAML

  • @Ryan-uh5zf
    @Ryan-uh5zf ปีที่แล้ว

    Excellent videos, when I am using the nvim-dap-go, I found that if there is an error in the test function, the debugger exits without showing the error message. Have you encountered the same problem before?

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

      Hmm I have no? Is it a compilation error or just a failure in the test?

    • @Ryan-uh5zf
      @Ryan-uh5zf ปีที่แล้ว

      Let's say that I have a function f, which has an error, that could be fixed by a blank import. When I run test code for f, I expect the test to fail and produce an error message related to the error of f, but when I ran the test code, it just silently ended, no error messages or no signs. `result, err := f(...)`, there is something in `err` and I call log.Fatal(..., err), but there is no log showing. @@dreamsofcode

  • @roarc0
    @roarc0 6 หลายเดือนก่อน

    I use a lot the rename identifiers with f2 (using :%s/aa/bb/g is not the same). is there a similar function? Also generate unit test and the "extract function" from the selection of a block of code.

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

    What window manager are you using?

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

    Amazing video! I'm eager to try it out and add my own plugins / customizations. I even managed to get a grasp on Lua configuration on nvchad, i was working from a sample config and i found it a bit hard.
    I'd like to see some setups on other programming languages, i love adding them to my developer toolkit. What about python? Ruby?
    Keep up the good work!

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

    Thanks for the video 😊

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

    Hi! I have a question: Is delve available for rust as well?

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

      no, delve is go specific debugger

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

      nvim-dap should just work with lldb in Rust. I have a video for rust which shows how!

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

      @@dreamsofcode ty

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

    I never bothered investigating why, but the auto-completion is always terrible in NvChad compared to when I do the exact same in a "standard" minimal setup. I really want to like NvChad, in has some sleek UI configuration out of the box, but it messes way to hard with productivity settings and breaking the standard way to configure them. Once in a while I decide to give it a try and configure it to my taste, and every time I end up with an editor that looks nicer, but has broken functionality and less features than when I do it myself from a bare install.

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

    isnt any step missing after clonning the NVChad repo? I mean, I am getting the following error after cloning the way you proposed:
    Error detected while processing /home/tales/.config/nvim/init.lua:
    E5113: Error while calling lua chunk: cannot open /home/tales/.local/share/nvim/nvchad/base46/defaults: No such file or directory

    • @fikurimax
      @fikurimax 2 หลายเดือนก่อน

      how to resolve this?

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

    FYI null-ls is archived and no longer relevant. Not sure what the best replacement is though

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

      I JUST got to this part of the video and I'm sad cause I'm like.......welp he didn't go over the gopls option =(

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

    Do you have a nvim setup for SQL (PL/SQL, Transact-SQL, Store Procedure....).
    Thanks for the great content and resources on nvim.

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

      I do not yet! But I can add it to the backlog

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

      @@dreamsofcode Please add to backlog as it's only stuff stopping me from switching to neovim completely

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

    THAANNKKSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS!!!!!!!!!

  • @justsomeguy8385
    @justsomeguy8385 3 หลายเดือนก่อน

    I'm not liking how the LSP handles tmpl files. idk if I don't have it correctly configured or what, but there is no autocomplete for go variables or javascript.

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

    Amazon video! Really helpful

  • @PanosGeorgiadis
    @PanosGeorgiadis 14 วันที่ผ่านมา

    it says Go struct not found. Any ideas why?

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

    can you create a video for the terminal setup you have?

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

    Now that null-ls is being archived what is the proper way to install formatter like gofumpt?

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

      Still install it using mason but it's a great question on what to use next. I'll probably do a video on the right option when one appears! In the next video on the series I'm going to look at a couple of options for it

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

      @@dreamsofcode Please do! I just got to this portion of the video =( Back to VSCode....not that it isn't bad

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

    what if some characters do not display at my nvim on Windows 10? e.g. list markers? only have the crossed out rectangles, and the text?

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

    Thanks a lot! I'm happy with nvim and go.

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

    Great video, I have one issue though, for tag adds, I keep getting struct not found even though there are structs defined and the cursor is on them, could you maybe help me out or point me in the right direction? thanks

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

      Do you have treesitter installed? If you jump on my discord server I can better help

  • @Simon-xi8tb
    @Simon-xi8tb 9 หลายเดือนก่อน

    Yeah, but default omnifunc completion sucks. DO I need to add autocomplete on topf of that ?

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

    thank you for making this usefull video

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

      I'm glad you found it useful!

  • @vivianeramosluz547
    @vivianeramosluz547 8 หลายเดือนก่อน

    What font for nvim do you use in this video?

  • @RudraNarayanPanda-p3r
    @RudraNarayanPanda-p3r ปีที่แล้ว +1

    Hi sir, I am new to neovim, how you are creating new files and new folders can you pls tell me the shortcuts

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

      When you're in the explorer (ctrl+n) select the directory you want to make your file/dir and then push 'A'. You will see a prompt at the bottom of your screen say "Create file..." if you type "main.go" or whatever then you will create a file. If you want a directory just type the directory name with a '/' at the end.

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

    Do you happen to know if this is working with GitHubs Copilot as well?

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

      You can add copilot to Neovim pretty easily! I've got a video in the planning stages on how to do that as well!

  • @gost
    @gost 9 วันที่ผ่านมา

    This setup does not work. Neovim does not respect the config 2:16, and gopls cannot be installed to nvim for whatever reason. nvim is built from source, go is installed, gopls is installed (everything with default locations). Error: "spawn: go failed with exit code - and signal -. go is not executable" could not find a solution.

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

    thanks man, can you make a nvim for beginners? Very good content

  • @КоньЛюдоед-ф6ф
    @КоньЛюдоед-ф6ф 4 หลายเดือนก่อน

    nvim its really so hard... what is good in ide? its work right here right now. For beginner trying to nvim is nightmare
    does it works on mac? I got this error with debug
    Error on launch: Failed to launch: could not launch process: can not run under Rosetta, check that the installed build of Go is
    right for your CPU architecture