Comments (3)
This is currently not implemented, but I'm happy to get a PR for this :) We could for example just make the open_float
function configurable. Currently it just does this:
local open_float = function(opts)
local buf = vim.api.nvim_create_buf(false, false)
return vim.api.nvim_open_win(buf, true, opts)
end
and if we expose this function in the settings you could open the window/buffer/split in any way you want.
from nvim-femaco.lua.
This is currently not implemented, but I'm happy to get a PR for this :) We could for example just make the
open_float
function configurable. Currently it just does this:local open_float = function(opts) local buf = vim.api.nvim_create_buf(false, false) return vim.api.nvim_open_win(buf, true, opts) endand if we expose this function in the settings you could open the window/buffer/split in any way you want.
That is exactly what I was looking for.
from nvim-femaco.lua.
You can now provide your own prepare_buffer
setting to open the buffer in the way you prefer :)
from nvim-femaco.lua.
Related Issues (18)
- Add alternate styling to render window in-buffer using virtual lines HOT 3
- Error: attempt to call field 'get_node_range' (a nil value) HOT 8
- Compatibility with norg? HOT 14
- Detect FeMaco buffer on LSP attach HOT 1
- Dim main buffer to focus on code HOT 1
- [feat] use same buffer for multiple code chunks (+ collaboration ideas) HOT 6
- Expand `float_opts` with user's options HOT 4
- Handle language specific settings HOT 2
- Incorrect indentation in org-mode HOT 2
- nvim-treesitter changed @language to @_lang in injections.scm for markdown HOT 7
- Can `FeMaco` add a mechanism for clean temp file HOT 2
- Extend functionality to any buffer with injected language blocks? HOT 13
- Question: future of nvim-FeMaco.lua HOT 2
- Error when use command `:Femaco` HOT 5
- Question: When I use FeMaco to input a code, it will automatically insert `v:null` HOT 5
- Nothing happend after call `:FeMaco` HOT 1
- Support for inline injections
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 nvim-femaco.lua.