This is possibly my favorite Neovim and Rails config

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ม.ค. 2025

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

  • @phlynniii
    @phlynniii 3 หลายเดือนก่อน +1

    Well, also in short: Thank you so much for this. I like it very much!

  • @harishrusum5258
    @harishrusum5258 3 หลายเดือนก่อน +2

    Yoo love your videos man ❤

  • @saviocmc
    @saviocmc 10 วันที่ผ่านมา

    Thank you for the great video. About the configuration of the code completion/snippets engine, neovim introduced in v0.10 a built in snippet api (:help vim.snippet) so you can actually get rid of a god portion of this config. By default now "nvim-cmp" uses the built in snippet api so you don't even need a special config to use it. To get a minimal setup with code completion *and* code snippets from the LSP, all you need now is "hrsh7th/nvim-cmp" and "hrsh7th/cmp-nvim-lsp" and the config can look like this:
    ```
    local cmp = require('cmp')
    cmp.setup({
    sources = {
    { name = 'nvim_lsp' },
    },
    mapping = {
    [''] = cmp.mapping.complete(),
    [''] = cmp.mapping.select_next_item(),
    [''] = cmp.mapping.select_prev_item(),
    [''] = cmp.mapping.confirm(),
    [''] = cmp.mapping.abort(),
    },
    })
    ```

  • @gustavomachado2558
    @gustavomachado2558 3 หลายเดือนก่อน +8

    Another from the GOAT 😎

    • @typecraft_dev
      @typecraft_dev  3 หลายเดือนก่อน +1

      LETS GO BROTHER

  • @joshualeyva8424
    @joshualeyva8424 3 หลายเดือนก่อน +2

    More of this please, thanks nerd. :)

  • @njayman
    @njayman 2 หลายเดือนก่อน +3

    you make great videos on productivity tools and softwares. i see you work on rails/ruby a lot. do you have any plan teaching/crash coursing ruby/rails?

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

      Would love to see this

  • @body_clock
    @body_clock 15 วันที่ผ่านมา

    Worth mentioning - if you're going to follow the linked repository, it's not worth pinning Telescope to version "0.1.5" (unless you want that version, of course) - my "find_files" action was behaving strangely and an update to the latest release fixed that problem.

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

    Thank you!

  • @GeorgeIlias-q6f
    @GeorgeIlias-q6f 24 วันที่ผ่านมา

    Great video as always! Can you tell me maybe how did you get the tmux status bar to be transparent?

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

    There is an option in Lazygit to open pull request page between select branches which is awesome.

  • @navaneethk5099
    @navaneethk5099 3 หลายเดือนก่อน +20

    waiting for the hyprland part 4🤥

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

      I guess icing the UI was the last one.

  • @ÖmerÖzen-w1n
    @ÖmerÖzen-w1n 3 หลายเดือนก่อน

    Wow, it was A mazing hon

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

    Hi there, huge fan of your work , i am a ruby on rails developer and want to learn using neovim, can u give a step by step guide for setting up neeovim for ruby on rails along with setting up rubocop etc

  • @matthewdolman
    @matthewdolman 28 วันที่ผ่านมา

    My grandad once told me a story about Ruby on rails, but I forgot it.

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

    Hi Typecraft, I'm curious about what version of ruby you are using on the rails project? and if are you using any ruby version manager(rvm, rbenv, asdf)? Because I try your same config with ruby 3.0.6 and looks like ruby_lsp doesn't work on this version... I have the latest version of nvim also. thanks if your responde of this comment or any person help me thanks a lot.

    • @joshua-afk
      @joshua-afk 7 วันที่ผ่านมา

      Hi! Just wanna help since I've also encountered this problem. What I did was follow the installation steps for ruby_lsp as outlined on the official website, including running gem install and all the required steps. After that, I installed ruby_lsp using Mason.nvim to manage it within Neovim. Finally, I added ruby_lsp to my Neovim LSP configuration to complete the setup.

    • @johnjohnjohnjohn2
      @johnjohnjohnjohn2 5 วันที่ผ่านมา

      I currently run asdf on Ubuntu and macOS. I have issues with it only on Mac.. I haven’t had much time to debug the issue, but it seems that asdf is the issue.

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

    Hey could you do a neovim config for express? I've been having a lot of issues getting ejs working.

  • @AhmedReda-nw2sd
    @AhmedReda-nw2sd 3 หลายเดือนก่อน +1

    Is this mini-files for file navigation?

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

      the terminal one is yazi

  • @roland_lopez
    @roland_lopez 3 หลายเดือนก่อน +1

  • @pennywise6672
    @pennywise6672 3 หลายเดือนก่อน +4

    Doo-doo work? You get paid to poop?

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

    BTW how do i get hyperland on something debian-based? i have been DYING to try it out but have not been able to install it.

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

      Currently rocking i3

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

      i think it got added into the debian repos

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

      Maybe build from source?

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

      There's a github wiki for debian hyprland

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

      it will evantually break. I would not do that.

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

    can you make a video about how to install neovim for dummies?

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

    rails gang

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

    what is lazygit?

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

      You're in luck ! We have a video on it - th-cam.com/video/TLNdwvIFoCg/w-d-xo.html

  • @urizen959
    @urizen959 3 หลายเดือนก่อน +1

    is that .... grey hair??

  • @ujjwalb1729
    @ujjwalb1729 3 หลายเดือนก่อน +2

    Thanks, nerd.

  • @Dan-kp6vg
    @Dan-kp6vg 3 หลายเดือนก่อน +1

    hehe you doodoo?

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

    I do do work

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

    Oh you just recreated vscode in ascii :)

  • @im_m7md126
    @im_m7md126 3 หลายเดือนก่อน +1

    Solargraph is the only choice for Ruby

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

      I really like ruby lsp!

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

      Any particular reasons? I’ve switched between both, don’t have strong opinions either way

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

      @@eniu2487 I've used both on different projects, and I’ve found that Solargraph just works. Navigation for references, definitions, and code completion is not only more consistent and accurate in Solargraph, but also noticeably faster.

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

      I tried to get ruby-lsp working for weeks. It just doesn't want to work properly. For example, do a default install of LazyVim, install ruby in LazyExtras (I even properly set my shim) and ruby_lsp features like references simply don't work.

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

    Use rust my man

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

      sounds like a terrible idea.