manateelazycat

Activity

Stars and mentions · Last 30 days, Oct 6 – Nov 4

GitHub stars0
Mentions6
01234Oct 6Oct 20Nov 4
UTC days · repositories manateelazycat owns0 repositories

Top repositories

manateelazycat’s repositories ranked by new stars, as on trending.

Loading

Contributes to

Repositories outside manateelazycat’s account where manateelazycat opened or reviewed pull requests in the past 365 days.

Who noticed manateelazycat

Everyone who starred or forked manateelazycat’s repositories since the archive began in 2011.

Notable accounts

Ordered by the stars their own repositories have received.

Biggest fans

Accounts that starred the most of these repositories.

Breakout weeks

Each repository’s best week of new stars, with the release published around it.

Mentions

5posts
Nov 50 posts
  1. Reddit · · r/emacs · u/P233-P233 · manateelazycat/deno-bridge

    Back to Emacs with the SCSS workflow I always wanted I had barely used Emacs for almost one year, but whenever I need to write code by hand, it still feels the most natural to me. With AI helping with the implementation, I finally built the SCSS/CSS workflow I had wanted for years but never found the energy to finish. It consists of three projects: 1. tree-sitter-scss An SCSS grammar written from scratch, with CSS support built into the same parser. I wanted accurate syntax trees for structural editing, beyond what the existing grammars could provide for the SCSS I write. There is a side-by-side comparison with the official grammar and simeonoff’s grammar. 2. scss2-mode, including css2-mode These major modes bundle the grammar for syntax highlighting and structural editing. For example, the same scss2-empty command clears different things depending on where point is (| marks the resulting cursor position): On a property: margin: 0 auto; → margin: |; Inside a function: calc(100% - 2rem) → calc(|) On a selector or in its block’s whitespace: .card { color: red; } → .card {|} Commands such as kill, duplicate and mark also use the syntax tree to determine their targets. I have always felt that structural editing is one of Tree-sitter’s underused benefits. 3. emmet2-mode, version 2 The first version used deno-bridge to call the Emmet npm package, followed by a layer of post-processing for my own expansion rules. Version 2 implements the expansion engine directly in Emacs Lisp, with additional CSS abbreviations: m--gutter → margin: var(--gutter); w[calc(100% - 2rem)] → width: calc(100% - 2rem); posa1000 → position: absolute; z-index: 1000; These are just a few examples, emmet2-mode can do quite a bit more. In scss2-mode, Tree-sitter provides the context for completion, including which Sass symbols are visible at point. Emmet expansions appear as completion choices, with previews before insertion. Writing CSS by hand has never felt this smooth to me. The irony is that I now have fewer reasons to write it by hand.

    22 points · 1 comment
  2. @manateelazycat 发现在 Sushi 更新到最新版本 51.2 后没法通过空格键打开 imv 预览,因为Sushi 51.2 改用 GJS ES 模块。插件仍按 Sushi 50 的方式加载入口。 omarchy-file-previewer#1

    1 like · 17 views
  3. 20 Omarchy plugins. Five live demos. Yong Wang (@manateelazycat), LazyCat CEO and former Deepin co-founder/CTO, showed his input method, screenshots, workspaces, widgets and side panel. github.com/manateelazycat t.co

    6 likes · 373 views
  4. @huacnlee 奇怪,我好像没碰到过这些问题,当时用的 manateelazycat/rime-ice-installer 这个

    1 like · 88 views
  5. 王总的 omarchy-window-switcher 在我10年前的机器上按下 Super-Tab 后预览界面出现的时间略有延迟omarchy-window-switcher#3 20~35ms omarchy-window-switcher#3

    1 like · 116 views

Achievements

Awards earned by the repositories manateelazycat owns. Select an award to embed its badge.

No awards yet

Repositories earn awards by reaching the top three in a completed trending day or week.

A repository earns an award for finishing first, second or third in a completed trending day or week, ranked by new stars, new forks or pull request authors. Awards follow a repository through renames and transfers and count toward its current owner. Weeks run Monday to Sunday, UTC.