Giter Club home page Giter Club logo

Comments (5)

andreyorst avatar andreyorst commented on May 25, 2024

from plug.kak.

 avatar commented on May 25, 2024

Thanks for the response!

plug.kak was created specifically to avoid using autoload

Ok that makes sense. Where would you recommend I store the broken-up parts of my config? Maybe $kak_config/scripts or something and then use plug.kak to source those?

As for the filesystem loop... I'm not sure what'd caused it.

I tried reinstalling kakoune.cr both from plug.kak and my package manager several times last night and that error stayed there but it went away this afternoon when I deleted and installed it for the third time ¯\_(ツ)_/¯

Can you upload your kakrc somewhere so I could reproduce it?

Absolutely: https://github.com/2ver/dotfiles/tree/main/.config/kak

Also try to see if previous version tag handles this without errors

I don't use ever use the tag feature but something like plug "andreyorst/plug.kak" tag "f1c4f35" noload should work right? I tried it and nothing changed (before I fixed it by reinstalling).

I've rewritten a lot of parts of plug.kak recently.

Thank you :)

from plug.kak.

andreyorst avatar andreyorst commented on May 25, 2024

Where would you recommend I store the broken-up parts of my config?

I do it like this:

evaluate-commands %sh{
    config_files="
        commands.kak
        common.kak
        recentf.kak
        plugins.kak
    "

    for file in $config_files; do
        printf "%s" "
            try %{
                source %{${kak_config:?}/$file}
            } catch %{
                echo -debug %val{error}
            }
        "
    done
}

This is all I have in kakrc. Everything else is in these files. This has a benefit of being able to easily select what files I want to load, but has a burden of adding these filenames manually to the list.

plug "andreyorst/plug.kak" tag "f1c4f35" noload

Yes, it should work, but it would be better to go into plug.kak directory and do this manually, because when plug command is available, the plug.kak itself is already loaded, so doing it this way requires double restart after you've modified the kakrc

but it went away this afternoon when I deleted and installed it for the third time ¯_(ツ)_/¯

Have you been experiencing this error since?

from plug.kak.

 avatar commented on May 25, 2024

I do it like this

Great! I reorganized my config using that.

Yes, it should work, but it would be better to go into plug.kak directory and do this manually, because when plug command is available, the plug.kak itself is already loaded, so doing it this way requires double restart after you've modified the kakrc

I tried figuring that out but I wasn't really sure what to edit once I got in the plug.kak directory so I just added the line back and double restarted.

Have you been experiencing this error since?

Unfortunately, yes. It actually did go away for a while but, now that you replied, I looked and saw the error there again (with and without the previous tag).

shell stderr: <<<
find: File system loop detected; ‘/home/uver/.config/kak/plugins/plug.kak/..//kakoune.cr/lib/fifo/lib’ is part of the same file system loop as ‘/home/uver/.config/kak/plugins/plug.kak/..//kakoune.cr/lib’.
find: File system loop detected; ‘/home/uver/.config/kak/plugins/plug.kak/..//kakoune.cr/lib/rsub/lib’ is part of the same file system loop as ‘/home/uver/.config/kak/plugins/plug.kak/..//kakoune.cr/lib’.
>>>

It doesn't seem to be affecting anything but it's just weird.

from plug.kak.

andreyorst avatar andreyorst commented on May 25, 2024

OK, I'll try to debug this in near future

from plug.kak.

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.