Git Product home page Git Product logo

Comments (4)

cocopon avatar cocopon commented on May 20, 2024

Please share a example code. This is important to investigate the issue.

from iceberg.vim.

lluar avatar lluar commented on May 20, 2024

Without tree-sitter for python it looks like this:

no_tree_sitter

With tree-sitter for python:

with_tree_sitter

from iceberg.vim.

shveikus avatar shveikus commented on May 20, 2024

Faced the same issue with the tree-sitter.

from iceberg.vim.

swnakamura avatar swnakamura commented on May 20, 2024

Hi, I'm interested in and took a quick look on this issue (with the help of :Inspect command).
It seems class definitions (SomeClass in the example) is in the @type group in treesitter. So, highlighting it into orange is possible, but makes all type keywords highlighted in orange, which puts a bit too much orange in the screen.
image

To avoid that problem, I am currently using a bit opinionated fork of mine that highlights types/classes in green and function/method definitions in orange.
image
If you are still having trouble, this may help you. Or if you came up with other solutions, please let me know!

from iceberg.vim.

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.