Neovim

2549 readers
1 users here now

founded 2 years ago
MODERATORS
151
 
 

I have a neovim with lots of plugins, and macros are broken. After I record them and I try to run them they stop in the middle, and won't replay every action I did.

My guess is that some plugin is breaking it, I noticed that autocompletition is usually not working, so I avoid it. My question is how can I find any other plugins that break it, and fix it?

152
 
 

153
 
 

Is there a simple script or plugin that uses patterns to get the root project directory path of a rust project in lua? The pattern should be to vheck for 'Cargo.lock' file

154
 
 

Zenith said:

URL: https://github.com/Zeioth/compiler.nvim

This compiler detects the filetype you are using. From there it detects the entry point of your program and compiles it with the correct compiler so you don't need to setup anything.

Currently it is on beta state and only works with c. More languages available in the coming days.

I rather releasing it now in case someone wants to participate and leave comments before I solidify the architecture.

I coded this for NormalNvim so take a look there if you want too.

Cheers.

155
156
 
 

😻

157
158
6
submitted 2 years ago* (last edited 2 years ago) by lung@lemmy.world to c/neovim@programming.dev
 
 

Hey guys, I'm currently one of the active members the neovim reddit (hugelung), and I'm in full support of migrating to lemmy. I was hoping to be modded here, and helping migrate content / roll people over

159
 
 

A quick-and-dirty plugin to optimize your svg files in nvim using svgo

160
 
 

gpt4all - free/libre ecosystem of LLMs. So I forked ChatGPT.nvim and adapted it for gpt4all.

It's not useful, because it's very slow and not very smart, but as a proof of concept, why not

161
 
 

Visual Studio Code is the preferred IDE as far as what users want but Neovim has a higher proportion of users that want to continue using it next year (81% vs 77%).

162
163
 
 

he gives some really nice tips with the the g key, I think u can learn a thing or two from this.

164
9
submitted 2 years ago* (last edited 2 years ago) by kronicmage@lemmy.ca to c/neovim@programming.dev
 
 

Just wanted to add some content and encourage discussion :D

I'm a big fan of using Home Manager to manage my Neovim and other dotfiles. It keeps everything in one place, and it's really good at managing non-neovim dependencies like fzf and such. Check out my dotfiles home.nix and nvim folder and tell me what you think!

165
7
submitted 2 years ago* (last edited 2 years ago) by howarddo@programming.dev to c/neovim@programming.dev
 
 

If you are like me, chances are you used Neovim for a period of time without knowing the basics. The notion of buffers windows and tabs in Vim is quite different from other IDEs/code editors. I suggest you read through this and this Stackoverflow answer to get some understanding of this matter.

166
 
 

Saw a link to this while reading another submission and thought it belonged here.

167
 
 

Hi all! I installed nvim and completed the tutorial. I have been using CLion, PyCharm, IntelliJ IDEA, and VSCode. I primarily use an Ubuntu OS. I am open to a different distro.

When I tried to configure VSCode to allow me to use C++, Python, Java, and Assembly on one IDE it became unstable. Can nvim handle that?

Where do I go to figure how to customize this thing? For example, I don't know what I should be installing for basic linting (I'm still a student). Do I need different modules for each language? Any resources would be most appreciated.

Thank you!

168
 
 

If you find yourself adding a new file with :e but the folder isn't there yet, this is for u

169
 
 

General Kenobi