Giter VIP home page Giter VIP logo

vim-kitty's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ‡ง๐Ÿ‡ท Brazilian web developer currently living in ๐Ÿฅจ Berlin
  • ๐Ÿ“ฆ Working at @artsy
  • ๐Ÿš‚ Mostly working with Rails-based applications
  • โœจ Passionate about observability, dev experience and data visualization
  • โค๏ธ I love nature, animals, cooking, music and documentaries

๐Ÿ• Tell your dog I said hi

vim-kitty's People

Contributors

adriantrunzo avatar carlosala avatar crater2150 avatar fladson avatar fymyte avatar glacials avatar jonsmithers avatar rpdelaney avatar strayer avatar strykar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vim-kitty's Issues

Script for transforming existing keywords

Create a shell script to output the current existing keywords in a format in pair with the syntax file declaration.

Code to get the keywords:

from kitty.config import option_names_for_completion
print({k for k in option_names_for_completion()})

Mark kittyKeyword as not a region to spellcheck

Right now things like color0...color15 get highlighted in my editor as spelling mistakes. ๐Ÿ˜†

syntax match kittyKeyword ... contains=@NoSpell

Is the basic syntax, though I'm not sure how you'd want to integrate it into the code generation.

Unable to load vim-kitty

If I try to :set ft-kitty I get:

filetype=conf
E488: Trailing characters: ft-kitty
Press ENTER or type command to continue

How do I troubleshoot this?
Running vim 9.0.0814 on Arch linux.

Enhancement: Highlight keywords when they are not at the start of the line

Configuration keywords are only highlighted when they appear at the first character of the lines of the config file. Sometimes I use to indent some config directives for grouping purposes, e.g. when testing some feature. It would be nice then, to have these keywords highlighted... Please, see the attached screenshot.

kitty2

ftdetect takes significant time on startup

I try to keep my vim startup time low, and notice that the ftdetect processing time pushes vim-kitty up to the top of my load time.
Looking at it, I think directory matching pattern covers the XDG_CONFIG_HOME matching (which I also causes the load). Basically, wherever the XDG home is */kitty/ should match the kitty config files.
The change is simple, I made a fork with branch here:
https://github.com/fourjay/vim-kitty/tree/ftdetect
With it, the ftdetect seems to work fine, and startup time goes down to almost nothing

Update for 0.28

The latest version contains new keys like text_composition_strategy

Improve regex for keywords that can also be values

For some keywords (background, foreground, etc.) that can also be values, we need to check if the string is at the beginning of the line or not to treat it accordingly.

We can remove the repetition in declaring those with a better regex expression.

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.