Comments (4)
You can use postwin.config.width
and postwin.config.height
at the moment, but I think I'll add postwin.size = {width, height}
as a convenience.
You can see all options for config
in :h nvim_open_win
if you want to override the default settings.
from scnvim.
Very nice, I have it set up now exactly how I want it. Just a small correction: the key is postwin.float.config.height
/ width
respectively these days. It took me a while to realize that the x/y coordinates are not pixels, but cols/rows of the terminal. Makes sense...
from scnvim.
Great to hear! Yes, that's correct. Hmm, might rename offset_{x,y}
to {row,col}_offset
to make that a bit clearer actually.
from scnvim.
I've refactored the floating post window configuration. It's now possible to set width
and height
in the "top level" of the config as well as row
and col
, see an example here.
from scnvim.
Related Issues (20)
- [FR]: More documentation on how to use it: describe how you can run code HOT 5
- [FR]: Implement Arrays in SCNvimJSON:stringify HOT 3
- [BUG] Error executing vim.schedule lua callback: […] Unrecognized handler HOT 2
- [BUG] Toggle post window leaves empty buffers HOT 6
- [BUG] scnvim foobar HOT 5
- [BUG] Syntax highlighting is not consistent with multiline strings HOT 2
- [BUG] s.meter only works after recompiling class library HOT 3
- [BUG] Editor commands do not work HOT 2
- [BUG] Error using pandoc on Linux HOT 1
- [BUG] Reloading a session with scnvim using Startify causes errors HOT 1
- [BUG] need help with tags file on wsl HOT 6
- [BUG] SCNvim crashes out of Neovim from too fast input. HOT 15
- [BUG] HOT 1
- [BUG] Return cached results from help.get_docmap
- [BUG] ERROR: Class not defined, ERROR: Could not iterate on directory, HOT 2
- [BUG] UGen Arguments not visible HOT 2
- [FR]: Send commands to remote sclang HOT 2
- [BUG] Signature hint window disappears in insert mode HOT 9
- [BUG] error message when typing (Done.freeSelf, \gate.kr(1)) in a SynthDef HOT 2
- [BUG] checkhealth lua functions deprecated HOT 1
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 scnvim.