Comments (7)
You're setting current window options. The ones with wo
. You need to use o
for that.
from lazy.nvim.
That option won't apply on new buffers either, so no use in putting it in an if condition.
It's an option you can only set for the current buffer
from lazy.nvim.
I see... I was not aware of that too, it's one of those options that I added when I just copypasted configs from youtube before I even knew how to exit vim
anyhoo, thank you for this plugin! it feels like magic to use it
from lazy.nvim.
@folke I have changed all of my wo
to o
instead
This issue still persists, the lazy plugin's page is the only non modifiable "filetype" that I get this error with.
MordechaiHadad/nvim@1a2fbcd
from lazy.nvim.
I am unsure how this is invalid since this error only ever happened to me when using lazy the way i described.
from lazy.nvim.
The same with the fileencoding
one. That will set the file encoding of the current buffer, which would be lazy in this case. The lazy window has modifieble=false
set, so you can't make any changes to that window
Probably best to read up on options and more specifically on what buffer-local and window-local means.
The options you are (were) setting do not behave as you probably expect.
from lazy.nvim.
fair enough! thank you I simply made an if check if buffer is modifiable
😞 I was not aware they also "take effect" or at least try to on non modifiable buffers
from lazy.nvim.
Related Issues (20)
- bug: Lazy failing to resolve github.com for some plug-ins HOT 1
- bug: `dependencies` of disabled plugins break `optional` calculation HOT 4
- feature: show a message during startup HOT 3
- feature: do not show `https::/github.com/folke/lazy.nvim` conflict with `folke/lazy.nvim` HOT 1
- bug: attempt to index field 'uv' (a nil value) HOT 4
- bug: autocmds are triggered multiple times HOT 1
- bug: `lazy.core.util.norm` resolves `~` path differently from Neovim HOT 5
- feature: an easier method to update all lazy.nvim plugins in the shell HOT 2
- bug: checkhealth problem
- bug: default colorscheme is overriden by Lazy HOT 4
- LSP and DAP synchronization problems HOT 1
- bug: lazy-lock.json should be stored in `vim.fn.stdpath("data")` by default HOT 2
- bug: Unhelpful error when trying to install a plugging that does not exist HOT 2
- bug: Neovim with Lazy.nvim crashes/quits on Alpine Linux & armv6l HOT 1
- How to load cmp sources lazily HOT 4
- feature: Allow for multiple URLs as fallback HOT 3
- bug: priority should prevent internally required packages to call .config HOT 17
- bug: lazy ui does not work on neovim 0.8 HOT 2
- feature: open repo URL with keymap HOT 2
- bug: Continuous pressing to delete characters makes neovim very slow 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 lazy.nvim.