Comments (4)
Hmm, I can't replicate this with NVIM v0.5.0 (their latest nightly job failed so there is no nightly release is available - and I can't be bothered to build from source).
The only time number
and relativenumber
are modified is in the snippet below but this should only change what is shown in the newly created window from L135 as both settings are "local to window".
vim-venter/autoload/venter.vim
Lines 135 to 143 in 819fe9d
If I remember to, I will try to replicate this bug with the next neovim nightly.
from vim-venter.
Maybe it is caused by other plugins so I tested again with a minimal config(config.vim) consisting of
set rnu nu
call plug#begin('$XDG_DATA_HOME/nvim/site/plugged')
Plug 'jmckiern/vim-venter'
call plug#end()
nnoremap ,z <CMD>VenterToggle<CR>
and running nvim -u config.vim buf1 buf2
, using ,z
start venter, and then just :bd
to delete the first buffer and untoggle venter mode, displaying a [No Name]
buffer with relative number and number unset, which can be resetted via set rnu nu
again.
Removed the nightly and installed the stable version from official repo (pacman -S neovim) caused the same thing on my machine.
Unfortunately I am so illiterate with it comes to vimL, and it's a minor thing anyway and I've been using a custom command to delete buffers while in venter mode via b# | bd #
, which works flawlessly except when there is only a single buffer.
from vim-venter.
Update:
I've tried an other minimal plugin henriquehbr/ataraxis.lua, with which it also disabled rnu and nu on closing the buffer. Now I think it's rather an internal issue, rather than an issue with the plugins itself.
from vim-venter.
Interesting, thanks for getting back!
from vim-venter.
Related Issues (10)
- Feature Request: VenterToggle HOT 2
- E154: Duplicate tag "venter" in file HOT 1
- BG colour unknown
- Feature request: Toggle on automatically based on the quantity of splits HOT 1
- Set single central window width to textwidth and add adjust padding windows accordingly HOT 3
- Default to Venter on when opening a single file in a new tab
- Add `:VenterAll` and `:VenterCloseAll` to open and close Venter on all tabs
- If closing last (non-Venter) window with Venter enabled, close current tab if other tabs exist HOT 1
- Error E417 when using `:VenterClose` or `:VenterToggle` with `g:venter_disable_vertsplit` HOT 4
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-venter.