Комментарии:
Hey guys!
So there's also a community fork for null-ls you can also try called none-ls. I've added this to my config in case you want to stick with that. You'd have to uncomment the event property of the "lsp/none-ls.lua" file if you want to use that and you can disable the alternative approach in this video by commenting this line out in "linting.lua" and "formatting.lua". That's of course if you're using my config as is, but I'd recommend you adapt it to your liking instead.
I also wanted to point out from the video that the reason I chose conform.nvim over formatter.nvim is how easy and similar it was to nvim-lint and because when using formatters like "prettier", it'll check if you have it installed in node_modules first and execute that instead!
Thank you very much
ОтветитьI've been using nvimdev/guard.nvim for both linting and formatting and it's a breeze too! If I start noticing some buggy behavior than I'll give this config a try. Thanks for the video!
ОтветитьHe saves my life and career.
ОтветитьThank you Josean for keeping us up to date. Amazing work!
ОтветитьHow do you enable line numbering?
Appreciate the video btw! :) Subscribed and liked!
Thanks for all you do. Actually i don't have a pc but i use my mobile and termux to follow along and will love you to do a video showing how to code with Neovim and also open live server at the same time to see changes live. Thank you
ОтветитьHi Josean,
I've followed all your config env videos and must say, I REALLY ENJOY THEM. Having no development experience, your content has sparked my interest in coding. Thank you!
For your upcoming videos, I'd love to see one on integrating GIT into the workflow, along with some tips on file/folder management for developers. Additionally, code sessions or small demo projects demonstrating the use of those keymaps in a real scenario would be incredibly helpful. As a beginner, it's challenging to remember and implement all those shortcuts.
Also, I know you don't typically code in Python, but I'm curious if you could create videos on integrating ChatGPT within the terminal environment and developing some projects with it.
Many thanks and best regards!
Gosh you really have this brilliant way of clearly explaining. You are always moving at a clip but not so fast that one has to constantly move back. Thanks. Great explanation of both linting and formatting setup. By the by, is there any plugin that adds back the Code Actions popup that we lose I believe when we lose null_ls? Thanks again!
ОтветитьI followed your config and works really nice, i really like it. I moved from Astrovim to my own configuration based on yours. Thanks for your amazing work.
Ответитьare-chived
ОтветитьVery helpful tutorial with a lots of explanation. Thanks a lot!!!
But, How to auto fix eslint when formatting?
Hi Thanks for another great video. I got my ultimate setup. I have one question about nvim-lint. How do I see what clients have attached for the current buffer ? like formatter and linter. in Null-ls, there is a command called :NullLsInfo. I want to be able to see if the clients have actually attached to the buffer. I searched everywhere in the nvim-lint repo, couldn't find anything. Can you shed some light on this ?
Thanks in advance.
Hello Josean, could you please help me with the bufferline configuration? How did you configure the transparent fill for the background next to the tabs? Previously, you had a black fill, but now it's darker than the tabs, and in addition to that, it's transparent.
ОтветитьThank you so much for the tutorial!!
Want to know if I use clang_format for C++, how can I configure the file to change the indentation for this formatting
Great content, have you tried efm-langserver as a replacement for null-ls?
Ответитьvery helpfull
ОтветитьVery helpful tutorial with a lots of explanation. Thanks a lot!!!
ОтветитьHey great setup!! I am using a lot of this as you explained and it is working great... Please keep up the good work - Awesome work !!!!
ОтветитьIs none gonna fork null-ls?
Ответитьnvim_create_augroup has {clear = true} by default btw. Awesome vid as always.
ОтветитьWell done, thank you very much for this content!
The only thing I wish you added to the explanation is how to manually disable linting messages for a file if we find them distracting.
All the best!
have you ever had an issue where you get duplicate diagnostic messages from eslint and the TS lsp? If you have any suggestions would be great.
ОтветитьHay Josean, thanks for making these greate Nvim videos. I've been following a long your videos and the only changes that i've made to my config was to change the theme from night-fly to tokyonight,... 😅
ОтветитьAny plan on adding debuggers ...??
ОтветитьThank you man.
ОтветитьDoes anyone know how to do "fix all?". I miss the option from vs code to fix all lint and formatting issues
ОтветитьI just spent most of the day following your vids and FINALLY I have the neovim setup I have always wanted. AMAZING!
ОтветитьMan Thanks you a lot of, your nvim videos restored my spirits, I had my nvim config with only vimscript, when lua appeared I couldn't understand how to implement, because I couldn't find something concise, each guide I found had different implementations, added to the fact that there was competition between package installers, English is not my native language but Spanish and there was no information in my language so it personally seemed very difficult to stay up to date besides the fact that I had started using new technologies in my work and I didn't have time, I had to go back to vscode, but your videos and your configuration helped me finally understand lua in neovim and make my own configurations, thank you very much
ОтветитьOh, thank you very much! I was able to make the switch from lsp-zero and null-ls to your settings super quickly. I managed to reconfigure my rust setup (which I did break), and I was even able to use an SQL formatter not supported yet (sleek). Thank you very much!
I had been looking for a replacement since the author announced the archiving, but I didn't find anything.
Great content as usual! Still undecided if I'll use both of these or none-ls as a replacement but really appreciate the walkthrough! Nice to have formatting and linting separated out like this.
ОтветитьGreat job, thank you very much. I switched to Lazy following your videos and I'm loving them
ОтветитьMan, you are the wizzard! I watched your previous videos and I was thinking "I need to figure out how to setup Swift linter & formatter (which are not available in Mason)". The next day you published the video! THANKS, you make great tutorials!
ОтветитьGreat video! Is there a popular plugin for code actions yet?
ОтветитьThere's a community maintained fork of null-ls named none-ls being maintained by folke and some others. You all should check it out. After switching to nvim-lint, I've just switched back to none-ls
ОтветитьDo you consider to do DAP video?
ОтветитьIt's crazy when you think that a single plugin could solve all this on its own. No wonder he got tired
Ответитьa fork of null-ls is doing fine now, so stay with that.
ОтветитьNice! Thanks. Exactly what I was looking for! Now to find a way to use only the tools a certain project uses based on which config files are present. Like only use prettier if a prettierrc exists, only use deno_fmt if a deno.json exists, only use biome if a biome.json exists etc. Thankfully neovim uses lua, so I'm certain I can look up how to conditionally call that format function!
ОтветитьGreat video! Could you tell me what plugin you use for terminal.Please
ОтветитьHi Josean. Thank yuo for this video. I have a question and I hope you can answer this
In null-ls I'm able to config clang_format like this:
formatting.clang_format.with({
extra_args = {
"-style={BasedOnStyle: Google, IndentWidth: 4}",
},
}),
and it works well
I cant make it in conform.nvim
I tried this but it didn't work:
c = {
{
"clang_format",
"-assume-filename",
"$FILENAME",
"-style={BasedOnStyle: Google, IndentWidth: 4}",
},
},
thanks a lot, it's very informative video.
ОтветитьExtremely useful videos, thanks!
Ответить@joseanmartinez Good work here, especially informing about the mason integration. I have one problem though, let's say as for your config, eslint_d gives offenses like let <-> const, but there isn't any code actions. As far as I remember, eslint does correct offenses.
Any ideas on this?
Great video ! I think it is better to have two seperate plugins. Atleast, I used null-ls for formatting only XD. I was not aware about conform.nvim, thanks for the video !
ОтветитьAmazing as usual. 😊
Did you try zellij instead of tmux? I tried and it has some cool features but I found it hard to navigate through panes.
Necesitamos mas gente como tu mano. Yo me tiraria pero yo no estoy para showmanship XD
Ответитьstevearc's stuff is all great. Aerial is one of my most-used plugins, Dressing is basically a requirement for Telescope so you can use the Telescope elements for selectors and such, and Oil is my favorite file editor. All of it is so good.
ОтветитьSomething seems extra with your text selection... Is thst treesitter,-, context-objects?
ОтветитьGreat video! Just FYI, someone forked null-ls and made a new repo none-ls. LazyVim has already added it as the default since it's meant to be a drop-in replacement.
Your setup seems faster to me though, so I might give it a try.
I was also burned by null-ls recently when i tried a few new things, forgot i added them, and then started getting nvim-cmp errors all over the place.
Took me ages to figure out the source of the issue.
I like here how you have things split up.