Comments (7)
I just found out this happens when doing any vim-ultest
configuration in the setup function.
from vim-ultest.
This is because when you use a setup
function paq will load the plugin after startup which means that when you :UpdateRemotePlugins
, the functions are not detected. There's not much I can do about this, it is a side effect of how remote plugins work in neovim. The best workaround is to move your setup to your init.vim or somewhere else and have vim-ultest load on startup
from vim-ultest.
Okay, I'll try it today.
from vim-ultest.
Hi,
So I'm encountering the same issue using packer.nvim
but I don't use a setup option for ultest in this case.
use {
'rcarriga/vim-ultest',
requires = { 'vim-test' },
run = ':UpdateRemotePlugins',
config = function()
as.augroup('UltestTests', {
{
event = { 'BufWritePost' },
pattern = { '*_test.*', '*_spec.*' },
command = 'UltestNearest',
},
})
as.nmap(']t', '<Plug>(ultest-next-fail)', {
label = 'ultest: next failure',
buffer = 0,
})
as.nmap('[t', '<Plug>(ultest-prev-fail)', {
label = 'ultest: previous failure',
buffer = 0,
})
end,
}
from vim-ultest.
Can you verify that vim-ultest is in the start
directory and not the opt
directory of packer's pack?
from vim-ultest.
@rcarriga so I thought it might be that, but it is definitely in the start
directory and still giving this error.
I think I just managed to fix it by setting vim-test
to not be conditionally loaded, I was previously loading it on demand, but seems that was what was causing this issue.
from vim-ultest.
Ah yes that'd be it, vim-ultest assumes vim-test is available on load as it needs to call it on startup
from vim-ultest.
Related Issues (20)
- Ultest not passing anything as parameters for rust HOT 16
- Can't scroll test results in pop-up HOT 3
- Ultest does nothing silently HOT 3
- Set popup window height HOT 5
- Add C++ (GTest) or vim-gtest support HOT 8
- Does not allow passing arguments HOT 4
- UltestSummary broken after :bdelete buffer HOT 2
- Multi-line feature / do blocks are not detected
- Help: Tests running slower then vim-test HOT 2
- No module named 'termios' on Windows HOT 2
- Rust tests with mod names other that default 'mod tests' filtered out and not run. HOT 2
- Feature request: Use vim.notify HOT 3
- Awesome nvim / vim config, share please? HOT 2
- Feature request: Send to quickfix / Trouble HOT 1
- Add ability to run `UlTest` in sync HOT 3
- Error: vim-ultest encountered an unknown error on startup HOT 13
- Variable for Where to Split Buffer HOT 3
- No matching autocommands: UserUltestPositionsUpdate HOT 2
- Nested tests fail in Java JUnit HOT 3
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 vim-ultest.