gsuuon / model.nvim

Neovim plugin for interacting with LLM's and building editor integrated prompts.
MIT License
293 stars 21 forks source link

imp: linting #47

Open randoentity opened 6 months ago

randoentity commented 6 months ago

Just some basic linting. At some point adding (something like) Pre-Commit might be nice. I'm in favor of line length 79 (or less) because I'm one of the silly people who does most of their "free time coding" on their phone.

gsuuon commented 6 months ago

Some automatic linting across the repo would be a good idea - I'd take a pr for that as well. Can you document how you linted this?

What's your phone coding setup?

randoentity commented 6 months ago

This I formatted with by using Conform in neovim (LazyVim) cf. For coding on my phone I use Termux->ssh->tmux->(neo)vim. Unexpected Keyboard (on F-droid) is great for coding.

gsuuon commented 6 months ago

Does Conform just run pylint with no args? Also, I'm leaning more towards separating the RAG (and therefore python dependent) stuff out into a separate repo - I think that was a good idea. Doing it right will be somewhat complicated and this repo is already getting large. If you're mostly interested in collaborating on RAG things, we should hold off on PR's here since it's likely this is all going away.

I've always wanted to try out coding on the phone but the keyboard really put me off - do you use a more coding friendly keyboard?