Comments (5)
I think there is no error,this means a.vim is after you try to begin load b.vim.if you say a.vim is before b.vim,but what is the time ,when you start your vim ,it is also before b.vim
from dein.vim.
No. It is after
. Closing.
before
is depends feature.
from dein.vim.
sorry, in example above,
"a.vim" is loaded before
"b.vim", isn't it?
Actually, I could confirm it.
If "a.vim" depends on "b.vim",
then "a.vim" is loaded after
b.vim, because a.vim depends on b.vim.
Maybe i just misunderstanding the sentence,
but "a.vim loaded before b.vim" is correct, right?
This is actually "on_source" function.
And this is why "b.vim" must be lazy
. ("b.vim" musts not be loaded beforeaa
"a.vim")
from dein.vim.
In the help of NeoBundle, on_source
is written like:
neobundle-options-on_source
on_source (List) or (String)
Load the bundle when the list bundles are loaded.
Note: If they are not autoload bundles, "on_source"
hooks are called when VimEnter auto command.
You can call them manually by neobundle#call_hook().
Note: The plugins must be lazy loaded plugins.
For example:
if neobundle#tap('plugin-B.vim')
call neobundle#config({
\ 'on_source' : [ 'plugin-A.vim' ]
\ })
call neobundle#untap()
endif
plugin-B is loaded before plugin-A is loaded.
This explains as before
.
(plugin-B corresponds to a.vim and plugin-A corresponds to b.vim in above)
I could obtain same order results in both NeoBundle and dein,
so that I think dein's on_source's help should be similar to NeoBundle's one,
at least it is not after
.
from dein.vim.
I get it. Fixed.
from dein.vim.
Related Issues (20)
- Suggestion to improve installation process HOT 1
- dein uses lua even when lua is not installed. HOT 2
- Suggestion to improve documentation HOT 8
- `[ftplugin]` in toml is not loaded HOT 2
- ANSI ESC[30m invisible in certain Terminal setups HOT 1
- Change ANSI escape to \033 and get rid of -e flag HOT 4
- Race of nvim-treesitter automatic installation HOT 3
- Omit the dein setup script prompts.
- An error on dein#update() HOT 2
- [Suggestion] update Github Issue & PR Template
- Config example error HOT 1
- caw.vim can't works well with treesitter when using dein.vim HOT 2
- Error on install with neovim-0.9 HOT 2
- hooks_fileで読み込む設定に行継続していると、途中までしか読みこまれない HOT 2
- E723 occurs when there is a line continuation in the argument of extend() in a file read by hooks_files HOT 3
- lua stack overflow if together with lazy.nvim ? HOT 6
- An error occurs if there is a newline in the dictionary of the Vim9 script loaded in the hooks_file. HOT 4
- README setup example fails with errors HOT 1
- The scripts after a comment will disappear in `dein-toml-ftplugin` in Vim9 HOT 5
- In the hooks_file, if a marker that you want to use purely as a folding marker is nested in a marker that contains a hook_name, it will not be parsed correctly.
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 dein.vim.