Comments (4)
Any reason this can't be fixed via a simple nvim.command('cd dir')
or similar whenever a new directory is opened, or perhaps by a neovim option to do the same? Or should this be handled differently (I haven't looked into the code that provides the git information, so maybe there's a different way of finding the directory that should be used instead)?
from uivonim.
I don't think that's how nvim behaves -- the cwd
remains set to the directory on startup, but statusline components are of course related to the current buffer. It's just that the Uivonim components do not behave the same (i.e., do not adapt to changes of the buffer). So it's an issue only on the Uivonim side, I think.
from uivonim.
Ah, okay. So just need to get the directory based on the current file (or the root folder of the current file, i.e. where the .git
directory is) and not using the cwd
. Perhaps there is a plugin somewhere that has an implementation of this which could show how to do this properly?
from uivonim.
Unless I'm misunderstanding, it seems this was fixed at some point; it worked on master pre-#191, and as of 7eb67ff it now works again. Closing.
from uivonim.
Related Issues (20)
- Key repeat not working on MacOS HOT 6
- Complex script like devanagari support HOT 4
- Text looks not well with guifont Iosevka HOT 3
- WSL: Uivonim commands not working HOT 4
- CJK character is not rendered correctly HOT 2
- Connection to server? HOT 2
- minimap HOT 1
- Sometimes rendering is gone HOT 2
- Impossible to type "<" HOT 3
- A "webview" or similar API HOT 2
- Builds from `master` donβt work on MacOS (Apple Silicon) HOT 5
- Cannot open uivonim from the command-line with parameters HOT 6
- how can i get uivonim colorsheme? HOT 2
- MacOS: A Javascript error occurred in the main process HOT 6
- Get error E12 when trying using `:edit` command. HOT 1
- Mouse does not work HOT 2
- Project Status HOT 3
- exception when startup HOT 1
- It's been a long time since a new version was released. HOT 2
- A JavaScript error occurred in the main process 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 uivonim.