Comments (8)
Yea I can reproduce this. It is not directly related to the jumplist
Your script uses '"
, which is a mark set when the buffer exists.
Regardless, this plugin should set keepjumps
as well 👍
I have a fix I think. I pushed an update to the develop branch, you can check if this works.
from indent-blankline.nvim.
I have observed one more issue. If I enable this plugin along with bufline
of vim-airline
plugin, I see that previous buffers are no longer valid upon nvim application restart. This issue is not observed if this plugin is disabled.
I don't have an easy way to demonstrate this issue, I will try to demonstrate this issue with minimal configuration.
from indent-blankline.nvim.
Hi @ratheesh , since that's another problem, could we open a new issue for that? One issue one problem makes issue management more convenient.
from indent-blankline.nvim.
First of all, thank you for the fantastic plugin!
Then comes the issue.
I have this
autocmd
in my vimrc. However, after installing this plugin, everytime I open a file it jumps to a constant position while not the last position the cursor was placed.augroup JumpToLastPosition autocmd! autocmd BufReadPost * \ if line("'\"") > 1 && line("'\"") <= line("$") && &filetype != 'gitcommit' | \ exe "normal! g`\"" | \ endif augroup ENDThe plugin can change the jumplist, that should be unexpected.
The issue was caused by this line.
And then this function changes the jumplist. I tried using "saving and restoring cursor position" but that didn't help...
Could you have a look? @lukas-reineke
from indent-blankline.nvim.
Thank you @lukas-reineke . I tried develop branch and it fixs the issue. 💯
from indent-blankline.nvim.
Should I close this issue? Maybe you should open another issue in which @ratheesh 's issue is refered?
from indent-blankline.nvim.
yes @ratheesh please open another Issue, I'll need more information from you.
I'll leave this fix in develop for a while to make sure closing and reopening the buffers a lot doesn't slow things down.
from indent-blankline.nvim.
@lukas-reineke Sorry for the delay. Please close this issue. I will reopen issue mentioned by me in a new request.
from indent-blankline.nvim.
Related Issues (20)
- Error when opening DiffView HOT 4
- question: how to manage overlap background colors HOT 2
- Window-local Option for Indentation Guides in IBL HOT 1
- Error When Changing Background HOT 2
- Guides Not Showing Correctly HOT 5
- Cursor color weird behavior with onedarkpro theme + indent-blankline HOT 2
- slow call to `vim.split` HOT 2
- Change background color from your example HOT 5
- Unable to see underlines HOT 1
- Lags in a file with a large block comment and treesitter HOT 5
- Does not work for CSS & Vue HOT 2
- Old scope highlight looks better. HOT 1
- Error on startup in .eslint.rc HOT 1
- Rainbow
- Indents only shown for the current context HOT 2
- Indentation change icon into ">>" HOT 5
- Wrong underline/highlight HOT 1
- [QUESTION] How to migrate from v2 to v3 using packer? Please improve documentation HOT 2
- Enhancement for low cursor visibility HOT 1
- How do I disable the plugin only on certain filetypes? HOT 2
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 indent-blankline.nvim.