Comments (4)
BTW, I'm absolutely planning on providing the patch, just wanted to talk before I threw something over the wall. Thanks for the quick feedback.
from lean.nvim.
Hi there! Thanks for the issue.
I'm not sure @constant.builtin.boolean
works in neovim -- are you sure it does? At least according to :h treesitter-highlight-groups
the examples show @constant.builtin
but for boolean they show @boolean
.
On the other hand, work on tree-sitter-lean
is effectively stalled (on the grammar being too big to use) which means I basically am not actively working on any of those queries unfortunately...
from lean.nvim.
Wow, https://neovim.io/doc/user/treesitter.html#treesitter-highlight really doesn't align with the highlight.scm files over in https://github.com/tree-sitter.
For example, https://github.com/tree-sitter/tree-sitter-ruby/blob/master/queries/highlights.scm uses @function.method
not @method
, @variable.parameter
not @parameter
. Clearly I am missing some magic here, I'll dig in. Thanks for the reference, that's really useful.
from lean.nvim.
Closing this given the above, but yeah if there's something here that can help and that also is correct for nvim
, obviously happy to merge a PR, just unlikely to look at doing this myself unless tree-sitter-lean
becomes viable again! Appreciated though.
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
- "Try this" replaces incorrect segment HOT 6
- Consider making the max width / height of infoviews work via percentages of real estate rather than columns/rows
- Improve `:Telescope loogle` HOT 1
- 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.