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(), }, }) ```
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?
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.
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
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.
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.
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.
@@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.
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.
Well, also in short: Thank you so much for this. I like it very much!
Yoo love your videos man ❤
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(),
},
})
```
Another from the GOAT 😎
LETS GO BROTHER
More of this please, thanks nerd. :)
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?
Would love to see this
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.
Thank you!
Great video as always! Can you tell me maybe how did you get the tmux status bar to be transparent?
There is an option in Lazygit to open pull request page between select branches which is awesome.
waiting for the hyprland part 4🤥
I guess icing the UI was the last one.
Wow, it was A mazing hon
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
My grandad once told me a story about Ruby on rails, but I forgot it.
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.
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.
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.
Hey could you do a neovim config for express? I've been having a lot of issues getting ejs working.
Is this mini-files for file navigation?
the terminal one is yazi
❤
Doo-doo work? You get paid to poop?
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.
Currently rocking i3
i think it got added into the debian repos
Maybe build from source?
There's a github wiki for debian hyprland
it will evantually break. I would not do that.
can you make a video about how to install neovim for dummies?
rails gang
what is lazygit?
You're in luck ! We have a video on it - th-cam.com/video/TLNdwvIFoCg/w-d-xo.html
is that .... grey hair??
I have tons
Thanks, nerd.
hehe you doodoo?
tehehehe
I do do work
Oh you just recreated vscode in ascii :)
Solargraph is the only choice for Ruby
I really like ruby lsp!
Any particular reasons? I’ve switched between both, don’t have strong opinions either way
@@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.
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.
Use rust my man
sounds like a terrible idea.