Code Monkey home page Code Monkey logo

Comments (4)

josephholsten avatar josephholsten commented on June 16, 2024 1

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.

Julian avatar Julian commented on June 16, 2024

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.

josephholsten avatar josephholsten commented on June 16, 2024

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.

Julian avatar Julian commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.