Code Monkey home page Code Monkey logo

Comments (14)

brandoncc avatar brandoncc commented on August 16, 2024 1

@bryall :call VimBeGood() does that for you. It sets the required vim-be-good packages to nil, then it requires it again. Check it out in plugin/vim-be-good.vim.

from vim-be-good.

brandoncc avatar brandoncc commented on August 16, 2024

Considered and accepted :-)

from vim-be-good.

polarmutex avatar polarmutex commented on August 16, 2024

Will do

from vim-be-good.

brandoncc avatar brandoncc commented on August 16, 2024

So, I have been trying to get a lua lsp running on my mac for two hours with no luck. I'm not sure if I am going to be any help here after all.

from vim-be-good.

brandoncc avatar brandoncc commented on August 16, 2024

I think I got it working, now I just have to learn lua 😂

from vim-be-good.

brandoncc avatar brandoncc commented on August 16, 2024

Sorry to spam the thread....can I get some pointers on how to run the game? I understand the lua syntax so I think I am okay there, but I can't figure out how to execute anything!

EDIT:

I figured out how to do it by running the following, let me know if I am doing anything wrong...

:set rtp^=~/dev/vim-be-good/
:so ~/dev/vim-be-good/plugin/vim-be-good.vim

from vim-be-good.

brandoncc avatar brandoncc commented on August 16, 2024

Just so we don't work on the same game, I have made good progress on ci. Hopefully I will complete it tomorrow.

from vim-be-good.

polarmutex avatar polarmutex commented on August 16, 2024

i am going to work on hjkl

from vim-be-good.

polarmutex avatar polarmutex commented on August 16, 2024

Sorry to spam the thread....can I get some pointers on how to run the game? I understand the lua syntax so I think I am okay there, but I can't figure out how to execute anything!

EDIT:

I figured out how to do it by running the following, let me know if I am doing anything wrong...

:set rtp^=~/dev/vim-be-good/
:so ~/dev/vim-be-good/plugin/vim-be-good.vim

i run the game by ":call VimBeGood()" (assuming plugin is in the plugin path)

from vim-be-good.

ThePrimeagen avatar ThePrimeagen commented on August 16, 2024

Ohh my goodness! I am sorry that I didn't respond. Sleeping the kiddos.

Yes, I always use nvim --cmd "set rtp+=$(pwd)" . to start up vim when working on this branch.
:call VimBeGood() is the way to activate the lua version. Why? That way you can still have vim-be-good installed without having them collide.

To override a game @bryall and @brandoncc look at relative.lua. Relative is the relative jumping game. I tried to provide as many of the same tools out of the box. The big difference is that a "round" provides a config every round, that means you can keep state if you would like and make it adaptively hard. But, that perhaps, is 2.0.

@bryall For hjkl, it would be awesome if difficulty also increased the size of the hjkl board, that way you really had to get use to using hjkl to move around.

@brandoncc I just assumed you are doing whack-a-brandon ;) One request, make the cursor position random on the line too, therefore more f and F is used. ;)

from vim-be-good.

ThePrimeagen avatar ThePrimeagen commented on August 16, 2024

One last thing, execute :echo stdpath('data') to see where the log is being written to. THat way you can just tail -f it or you can enable console logging in log.lua (not the biggest fan of the :messages experience).

from vim-be-good.

polarmutex avatar polarmutex commented on August 16, 2024

is there a command to reload a lua plugin while in neovim?

from vim-be-good.

polarmutex avatar polarmutex commented on August 16, 2024

added PR for whackamole, i think that is all the games?

from vim-be-good.

brandoncc avatar brandoncc commented on August 16, 2024

I saw that, nice job @bryall!

from vim-be-good.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.