dreamsofcode-io / neovim-go-config

The configuration from the neovim go video
114 stars 48 forks source link

Problem with Auto-Formatting still occurring. #4

Open DoKoB0512 opened 9 months ago

DoKoB0512 commented 9 months ago

Even after applying all the fixes stated in issue #1 The nvim still creates a .null-ls file instead of formatting the current main.go file. I've even copy-paste all the config from the git-repo and changed the only thing said as the potential solution on that issue but its still not working. image

elliottminns commented 8 months ago

Thanks for raising this issue. I'll take a look at this over the weekend. I have another base config that does have Go and autoformatting, so there might be something to take from that config initially. https://github.com/dreamsofcode-io/DreamNvim

RojJuan commented 8 months ago

same here still having the issue @elliottminns

RojJuan commented 8 months ago

Alright i fixed it!

what i did was instead of installing gofumpt and goimports_reviser with "go install" i installed them with homebrew and it worked!

hope this helps

RojJuan commented 8 months ago

@DoKoB0512 found a solution above if you are still interested