Comments (9)
Hi there,
With the help of other contributors I pushed the fixes to the issues you mentioned:
Except that line number thing, which I cannot reproduce on a clean docker image, I suspect it us due to some conflict with your settings.
You can see I directly do setlocal nonumber
when I create a new tree window.
I suspect something in your configuration is doing the inverse and turning it back on
from chadtree.
The resizing issue is gone!
However there still is one new buffer each time :CHADopen
is run.
Also just as help to anyone else, the issue with the line numbers seems to come from relative numbers, if I do :set relativenumber!
and :set nonumber
then there are no numbers, just nonumber alone won't do the trick.
from chadtree.
Ah thankyou, I fixed the relative number thing. Didn't know relativenumber
overwrote nonumber
.
Im still trying to figure out why it opens a new window for you, since it doesnt do it on my docker image, maybe there is some other vim setting that Im not aware of
from chadtree.
I'm going to try a few checks tomorrow and will edit this comment.
Although, I've been checking about the Scratch type of buffer and I don't know if this applies here, but it might have something to do with the command that is invoked to create this new split, as it may be creating a buffer by using :new
instead of :split
as per the info on this github issue for netrw: vim/vim#1016
I guess the option that creates the conflict must be set hidden
As I said earlier, I will test tomorrow and get back with more info!!
from chadtree.
Oh man, thank you so much. I wasn't expecting the help, but it is very welcome!
from chadtree.
Just confirmed set hidden
is what is interfering here, when wet to nohidden
the buffer is still created but upon moving to another buffer or closing CHADtree, said buffer dissapears.
I guess providing the set nobl
option or using :split
might solve the issue?
If there is anything else I can help with, I'm happy to do so, although my python knowledge is rather limited.
Great support you're giving to the plugin btw, congrats!! =D
from chadtree.
Ok I patched it with split
It's weird though, because I still cannot reproduce in a solely clean docker image, that makes me think its hidden
+ something else.
This has the side effect of a minor flicker though, since splitting sets it to a different file first, which i still better than whatever is bugged here I guess.
from chadtree.
I can confirm that when I haven't got :set hidden
it works correctly now!!
I'll close this issue.
from chadtree.
I don't know why but it still flickers on my setup
from chadtree.
Related Issues (20)
- Hide statusline for Chadtree
- Error when opening markdown files
- Error while installing
- How to set bufferline integrated with chadtree
- Can we get some sort of way to *close* CHADtree?
- Is there any way to set the background of the chadtree's split?
- NERDTree-like ability to open parent directory
- Correct handling of symlinks?
- attempt to index field "api|g" (a nil value) error.
- Exception when closing the window using q
- trash-cli error when sending file to trash
- CHADtree "Failed to start server: no such file or directory" Error on opening vim HOT 1
- Error: Invalid Window id: 1113 when renaming current editing buffer
- Feature Request: add indent line
- Feature Request: allow `CHADopen` accept a dir parameter and start under that folder (not always current dir)
- Missing features HOT 1
- DirEntry subscriptable
- Bold claims in the readme
- Question: How do I get a terminal like this showcase? HOT 2
- Breaks ability to run "nvim ." 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 chadtree.