diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-09-11 20:11:16 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-09-18 13:59:19 +0200 |
commit | a860f7880fd5d5cef5299ff8d450ac037bee2300 (patch) | |
tree | b929329658316d6a8a7aead01f0b701c0e278fca /test/functional/fixtures | |
parent | 396280d3030685c6b7c4d962f24bb5171a735b47 (diff) | |
download | rneovim-a860f7880fd5d5cef5299ff8d450ac037bee2300.tar.gz rneovim-a860f7880fd5d5cef5299ff8d450ac037bee2300.tar.bz2 rneovim-a860f7880fd5d5cef5299ff8d450ac037bee2300.zip |
refactor(runtime): handle pack/foo/start/bar/after dirs properly
The order should be:
XDG_CONFIG_HOME/nvim
XDG_DATA_HOME/nvim/site/pack/foo/start/bar/
XDG_CONFIG_HOME/nvim/after
XDG_DATA_HOME/nvim/site/pack/foo/start/bar/after
Diffstat (limited to 'test/functional/fixtures')
6 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/fixtures/nvim/after/filen.lua b/test/functional/fixtures/nvim/after/filen.lua new file mode 100644 index 0000000000..0128a0a16a --- /dev/null +++ b/test/functional/fixtures/nvim/after/filen.lua @@ -0,0 +1 @@ +table.insert(_G.test_loadorder, "ordinary after") diff --git a/test/functional/fixtures/nvim/filen.lua b/test/functional/fixtures/nvim/filen.lua new file mode 100644 index 0000000000..e2bd5e8f7f --- /dev/null +++ b/test/functional/fixtures/nvim/filen.lua @@ -0,0 +1 @@ +table.insert(_G.test_loadorder, "ordinary") diff --git a/test/functional/fixtures/pack/foo/opt/superspecial/after/filen.lua b/test/functional/fixtures/pack/foo/opt/superspecial/after/filen.lua new file mode 100644 index 0000000000..94bf6850b2 --- /dev/null +++ b/test/functional/fixtures/pack/foo/opt/superspecial/after/filen.lua @@ -0,0 +1 @@ +table.insert(_G.test_loadorder, "SuperSpecial after") diff --git a/test/functional/fixtures/pack/foo/opt/superspecial/filen.lua b/test/functional/fixtures/pack/foo/opt/superspecial/filen.lua new file mode 100644 index 0000000000..cbaab1a45a --- /dev/null +++ b/test/functional/fixtures/pack/foo/opt/superspecial/filen.lua @@ -0,0 +1 @@ +table.insert(_G.test_loadorder, "SuperSpecial") diff --git a/test/functional/fixtures/pack/foo/start/fancyplugin/after/filen.lua b/test/functional/fixtures/pack/foo/start/fancyplugin/after/filen.lua new file mode 100644 index 0000000000..9beac762ee --- /dev/null +++ b/test/functional/fixtures/pack/foo/start/fancyplugin/after/filen.lua @@ -0,0 +1 @@ +table.insert(_G.test_loadorder, "FANCY after") diff --git a/test/functional/fixtures/pack/foo/start/fancyplugin/filen.lua b/test/functional/fixtures/pack/foo/start/fancyplugin/filen.lua new file mode 100644 index 0000000000..34e4b9c95e --- /dev/null +++ b/test/functional/fixtures/pack/foo/start/fancyplugin/filen.lua @@ -0,0 +1 @@ +table.insert(_G.test_loadorder, "FANCY") |