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(), }, }) ```
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.
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?
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 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
@@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!
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(),
},
})
```
Yoo love your videos man ❤
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.
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
There is an option in Lazygit to open pull request page between select branches which is awesome.
Great video as always! Can you tell me maybe how did you get the tmux status bar to be transparent?
waiting for the hyprland part 4🤥
I guess icing the UI was the last one.
My grandad once told me a story about Ruby on rails, but I forgot it.
Thank you!
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
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.
Wow, it was A mazing hon
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.
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
can you make a video about how to install neovim for dummies?
❤
what is lazygit?
You're in luck ! We have a video on it - ua-cam.com/video/TLNdwvIFoCg/v-deo.html
rails gang
Thanks, nerd.
Doo-doo work? You get paid to poop?
is that .... grey hair??
I have tons
I do do work
hehe you doodoo?
tehehehe
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.