Comments (5)
I would write a PR for this, however I can't really test it quickly, right now.
There's only 3 locations os_homedir
is called:
lua/lazy/manage/process.lua:96: opts.cwd = uv.os_homedir()
lua/lazy/core/util.lua:57: local home = vim.uv.os_homedir()
lua/lazy/core/cache.lua:54: local home = uv.os_homedir() or "~"
I think the process.lua
one doesn't matter much since it's a fallback for internal command execution, I'm not sure about the cache.lua
one though.
from lazy.nvim.
This seems to be more a bug with uv.os_homedir()
? Please report a bug there instead.
from lazy.nvim.
I don't think it is? Using $HOME on Windows is not standard and a quirk of Vim. libuv returning %USERPROFILE% is objectively correct (for libuv) but Vim does it that way.
from lazy.nvim.
If libuv is returning the correct directpry, then I dont see what the issue is.
Anyway, just use a full path to point to the directory you need
from lazy.nvim.
The issue is that (Neo)vim does something that people rely on, and Lazy (a neovim plugin) doesn't follow that convention.
libuv shouldn't follow what vim does, but vim plugins should probably follow vim.
Either way, I just used expand('~') myself.
from lazy.nvim.
Related Issues (20)
- feature: guidance request / documentation
- bug: "attempt to call method 'flatten' (a nil value)" HOT 8
- bug: Vim:Lua module not found for config of nerdtree. Please use a `config()` function instead
- bug: Opening multiple files with -p with neovim 0.10 has different tabstop & expandtab values on second tab HOT 4
- docs: `optional` is not part of `LazyPluginSpec`
- feature: `[]` mappings for jumping between plugins in the popup window
- bug: Getting error whenever trying to delete a plugin through :Lazy HOT 9
- bug: Plugin reloads on each startup HOT 2
- [Question] about checking if a plugin is loaded or not HOT 2
- feature: system binary dependencies HOT 7
- feature: More verbose initial installation steps HOT 7
- bug: attempt to call method 'flatten' HOT 2
- feature: update all plugins under selection
- feature: sponsoring HOT 1
- bug: deactivate detection for nvim-lspconfig not working as intended HOT 1
- bug: vimrc's plugin not loaded after using Lazy.vim HOT 1
- Temple
- feature: Allow plugins to configure dependencies
- question: can i register plugins in different directories
- bug: E5108: Error executing lua: ...ta/Local/nvim-data/lazy/lazy.nvim/lua/view/init.lua: 300: attempt to call filed "keyc stack
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 lazy.nvim.