Comments (5)
That's what happens when dealing with long and similar variable names 😅 Please try latest, should be working now
from vim-ultest.
Relevant lines: autoload/ultest/output.vim
, function s:NvimOpenFloat
. There is no such options yet and it is simply set to the content height. Some options like max_height
should be added.
from vim-ultest.
I've added in config variables to control the window size. Please try the latest commit
*g:ultest_output_max_width*
Max width of the output window (default: 0)
*g:ultest_output_max_height*
Max height of the output window (default: 0)
*g:ultest_output_min_width*
Min width of the output window (default: 0)
*g:ultest_output_min_height*
Min height of the output window (default: 0)
from vim-ultest.
@rcarriga Thanks for taking this on, appreciate it.
A few things I noticed:
- The default width/height should probably be changed, without any settings it's just 20 wide. But that might also be because of the second point below
- The width can not be higher than the height for some reason.
let g:ultest_output_min_width = 70
let g:ultest_output_max_width = 70
let g:ultest_output_min_height = 10
This results in a 10:10 window
Using the max here for the width has no effect. So the width seems to have the height as the upper boundary
When I set the height to 20 and keep width at 70, it is now 20:20
from vim-ultest.
Thank you so much, it works now, very cool!
One last thing: Is it possible to adjust the window distance at the bottom?
My commandline is 2 lines high, and above that there is the status line. If I could add 2 extra lines distance then it would not clip. Is that possible?
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
- Add C++ (GTest) or vim-gtest support HOT 8
- No notification handler registered HOT 7
- 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.