Comments (6)
This seems to work correctly here (now?). I'm on Lean 4.3.0rc1, Mathlib4 df32aa2ebe0f1ef9bce7831b1bcc0723f07a4724 and NVIM v0.9.4. Can you confirm whether it does or doesn't for you?
from lean.nvim.
Hi, sorry for the late reply. No, it doesn't work for me. I'm on NVIM v0.9.4, Lean v4.3.0-rc1, Mathlib b6ec7450650a5945bf4244751be4a5cf1fee962f. It's very interesting that it works for you, my understanding is it shouldn't...
Also, I think I have a fix idea, but I haven't gotten to implement it yet. Essentially, we should implement the .getWidgets
RPC (found here) and use those directly to get the replacement range (and the js widget source code, which we ignore for now).
from lean.nvim.
This is what I see here:
Screen.Recording.2023-11-06.at.10.34.05.PM.mov
Will need some way of reproducing the broken behavior I think
from lean.nvim.
To be sure -- are you using lean.trythis.swap
or the code action here? You should be using the latter on Lean 4, given it exists now.
from lean.nvim.
I was using trythis, and I have gotten it to work with code action now :) Thanks a lot!
from lean.nvim.
Cool, ok glad it works, I'll try to make this clearer -- I'd already removed lean.trythis
from the readme but I think the next step would be not binding it at all in Lean 4 buffers, which should send a message at least. I'll likely do that and then close this. Thanks regardless for the issue.
from lean.nvim.
Related Issues (20)
- Cursor jumps around when infoview is open HOT 8
- neovim can freeze up / use 100% CPU when editing or navigating around Lean files HOT 5
- Correct way to quit neovim while the plugin is running HOT 2
- Distinguish \perp and \bot HOT 1
- checkhealth error: failed to run healthcheck for "lean" plugin HOT 1
- nvim-treesitter: upstream Tree-Sitter grammar and queries HOT 6
- Find executable via `elan which` HOT 7
- Unicode LaTeX tab completion HOT 10
- Anonymous sections aren't treated as a pair HOT 1
- Consider making the max width / height of infoviews work via percentages of real estate rather than columns/rows
- Improve `:Telescope loogle` HOT 1
- highlights.scm: @boolean -> @constant.builtin.boolean, @repeat -> @keyword.control.repeat HOT 4
- Help for a newbie HOT 3
- Client 1 quit with exit code 0 and signal 11 HOT 5
- Infoview autoclose HOT 1
- Musl usage error message HOT 4
- Inaccessible hypothesis highlighting should highlight inaccessible names even when there are alternate accessible ones
- (Re-)review / harmonize with the VSCode options
- Infoview tooltips should render their contents as markdown 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 lean.nvim.