Comments (5)
The issue can be fixed by replacing
vim.loop.cwd():match "([^/\\]+)[/\\]*$" .. " "
with
vim.fn.fnamemodify(vim.fn.getcwd(), ":t") .. " "
Though, then the working directory in the statusline appears blank.
from ui.
PR Welcome
from ui.
True, I don't know if this is the fix that is to be employed because it leaves the field blank, but sure, I'll make a PR. I'll try to see if I can get a better regex going which can handle both cases as well.
from ui.
When in doubt, if statements :)
from ui.
Done
from ui.
Related Issues (20)
- Lazygit strange size HOT 8
- Terminal width and height settings in chadrc.lua stopped working HOT 2
- Is there any way to get just the **tabufline** module as a plugin? HOT 2
- How to use as a plugin HOT 2
- sign_define is deprecated. HOT 6
- :MasonInstallAll command wrong implementation after last update HOT 1
- :MasonInstallAll command wrong implementation after last update
- Artifacts on latest version on a Mac HOT 2
- MasonInstallAll: only the first linter for each filetype is installed
- Theme switcher changes key in the changed_themes table resulting in errors HOT 3
- Statusline should show the current pwd in nvim-tree rather than what neovim entered in HOT 2
- buffer appearing in terminal HOT 13
- Cursor jumps to lsp.signature HOT 3
- nvchad.term Documentation HOT 1
- When trying to close a buffer while the current buffer is terminal the terminal closes instead of that buffer
- Not an editor command: MasonInstallAll HOT 3
- chadrc options not applying HOT 9
- Toggle dark/light theme bttn not working propperly HOT 2
- Make lsp signature help on insert message silent HOT 3
- Statusline - lsp_msg and lsp icons not showing 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 ui.