Comments (11)
It seems that this only documented in the README of https://github.com/ziglang/zig.vim
from neovim.
@zeertzjq it is absolutely not clear that you have to look in a readme of some third-party repo for a solution to the issue. If this behavior is to be kept, it should at least be added as a :h
file. Though I still think that it should not be on by default.
from neovim.
There seems to be some ongoing effort:
But it's not clear where it is going.
from neovim.
@zeertzjq the ziglang/zig.vim#51 issue was closed due to not enough interest, but since then, many people have commented on it saying that this behavior is annoying. I think even if this change won't be made in upstream zig.vim, it should be made in Neovim to have better defaults.
from neovim.
I also stumbled upon this behavior and I support opinion that this should not be on by default. In fact if you’ll look at zig_fmt_autosave in other Vim/Neovim distributions, dotfiles and so on — you’ll see that everybody is aware of this thing
from neovim.
We do not maintain these files; please contact the maintainer listed at the top of the file and propose the change; if there is no response, you may raise an issue at vim/vim directly. If they make the change, we will port it; otherwise not.
from neovim.
@clason why can't nvim change ftplugins independently of vim? Is that for compatibility reasons?
from neovim.
Yes (and to make sure that any improvements benefit both projects). This is an ironclad project policy.
from neovim.
I've opened a PR with Vim to change the default vim/vim#14820.
from neovim.
@gpanders perhaps you could continue the work in the existing PR?
It is a full refactor of the zig ftplugin, so I think it'd be better to merge that, seems like the only thing it misses is documentation for one variable.
from neovim.
@clason vim merged the PR with the fix. Will it be downstreamed into nvim automatically?
from neovim.
Related Issues (20)
- LSP Error: _changetracking.lua:305: attempt to index local 'buf_state' HOT 5
- ":terminal foo" doesn't open terminal on the same active virtualenv HOT 7
- `vim.o.mouse = nil` no longer works as of nvim 0.10.0 HOT 8
- speed up check for pynvim HOT 7
- Surprising behaviour of default 0.10 color scheme groups: `Added`, `Changed`, `Delimiter`, `Operator`, `Removed` and `@variable` HOT 12
- too many curl processes make OS broken HOT 1
- Can't nested use native vim.snippet HOT 2
- `BUILD.md` file mentions non-existent `stable` branch of repository HOT 2
- Display distortion when setting window width to 1 in diff mode with set number
- Different termcodes of `<M-]>` from string vs from input HOT 4
- Crash while opening large log file HOT 1
- Integrate tree-sitter parsers into the toplevel build system HOT 19
- Perl syntax highlighting of named sub signatures highlights as a possible error HOT 1
- initial file open sometimes replaces character under cursor with 'g' HOT 5
- LSP diagnostics not cleared on client stop for unattached buffers
- SHA256 sums for multiple dependencies in deps.txt are not stable HOT 14
- "Option 'commentstring' is empty" in .cpp files HOT 4
- stylus syntax file: Undefined variable: main_syntax HOT 1
- `synIDattr` returns GUI color names with `notermguicolors` HOT 7
- Escaped commas are not handled in options HOT 3
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 neovim.