Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.48 KB

README.md

File metadata and controls

51 lines (38 loc) · 1.48 KB

Nvim Hidesig

Zulip Chat

Dim Sorbet signature definitions so you can focus on the code.

Quick start

  • Install and set up nvim-treesitter according to their documentation.
  • Install this plugin
  -- Packer
  use "omnisyle/nvim-hidesig"
require("nvim-treesitter.configs").setup {
  highlight = {
      -- ...
  },
  -- ...
  hidesig = {
    enable = true,
    opacity = 0.75, -- opacity for sig definitions
    delay = 200,    -- update delay on CursorMoved and InsertLeave
  }
}

Screenshots

BeforeVsAfter

TODO

  • Dim sorbet sig on buffer changed
  • Cache color calculation and highlight groups

Credits

Thank you for inspiring me and set examples so I can understand nvim treesitter lua api.