Giter Club home page Giter Club logo

flyhigh's Introduction

Flyhigh -- On the FLY HIGHlight package.

This package is still work in progress; it may have breaking change(s) without notice.

Currently I'm targeting nim-mode's (Nim language's major-mode).

installation

Probably most easiest way to use this package is using el-get.

;; el-get-sources
(:name flyhigh
      :type github
      :depends (dash deferred) ; might need other package(s)
      :pkgname "yuutayamada/flyhigh"
      :minimum-emacs-version "26")

TODO -- Design goal

  • this package should not block user input; do tasks asynchronously (partially done using deferred.el)
  • example (living example is flyhigh-nimsuggest)
  • trigger highlight by
    • (1) when the cursor is moved to outside of invisible window
      • this just needs to refresh highlight inside of visible window
        • provide dedicated idle timer variable (this is different usage against (2))
      • if there are uncompleted highlight from previous query, we should use cached highlight and don't make new query.
    • (2) after change (after-change-functions hook)
      • provide dedicated idle timer variable for this, but this timer should be longer than other packages' idle timer like flycheck, and company
    • [ ]
  • be highlighted from visible window
  • highlight invisible overlays
  • keep used overlay(s) until:
    • buffer change
      • but removal of overlay(s) should be from visible overlays
        • and should be kept invisible overlays until it become visible
        • but during idle time, incorrect invisible overlays should be fixed asynchronously
    • [ ]
  • stable APIs
  • register MELPA (but currently this package is too immature)
  • make some tests using faceup.el
  • document

flyhigh's People

Contributors

yuutayamada avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.