Comments (5)
from plug.kak.
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.
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.
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.
OK, I'll try to debug this in near future
from plug.kak.
Related Issues (20)
- ensure: document deferred loading HOT 5
- nasty errors with `plug http://.../` (final slash) HOT 1
- plug-chain problems HOT 4
- plug theme HOT 3
- double .git stripping HOT 2
- jobs unhack HOT 4
- installing from plug-list doesn't respect plugin options HOT 3
- renaming plugin folders HOT 13
- Add option to skip rebuilding and load prebuilt plugin configuration HOT 1
- Errors in config blocks don't get brought to the user's attention HOT 2
- git URLs for private repos HOT 1
- No indication when the `do` block fails HOT 4
- Branch Specification adds a signifiant delay in startup time HOT 1
- Check for URL scheme when searching for an URL in the plguin name HOT 5
- Suggestions for plugin authors? HOT 4
- demand doesn't work without a final %{} HOT 2
- Plugin status breaks if reflog empty HOT 3
- Enchance plug-list representation of manually loaded plugins
- defer block not works as expected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plug.kak.