twilight.nvim
🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter. (by folke)
nvim-treesitter-context
Show code context (by nvim-treesitter)
twilight.nvim | nvim-treesitter-context | |
---|---|---|
10 | 33 | |
1,134 | 2,149 | |
- | 4.7% | |
3.9 | 8.6 | |
7 months ago | 8 days ago | |
Lua | Lua | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
twilight.nvim
Posts with mentions or reviews of twilight.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-28.
-
BlindVim, my first simple plugin.
why not https://github.com/folke/twilight.nvim ?
-
Anything like Blockman in Neovim?
I like that blockman just makes scoping subconsciously clear as I scan through code though. Whereas twilight is focused on.. uh, focus. :)
-
Find the cursor Mac-like feature in Vim
Don't know about animations, but you can highlighting the current line and dim the rest with Twilight.nvim.
-
Configuring global variables(vim) in selene
There's an example in the following repo: https://github.com/folke/twilight.nvim (look at selene.toml and vim.toml)
- Neovim/Vim configs [NOOB HERE]
- What are some of your favorite eye candy plugins?
-
Looking For A Theme
This might be something twilight.nvim
-
Twilight: companion plugin for zen-mode
Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing.
nvim-treesitter-context
Posts with mentions or reviews of nvim-treesitter-context.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-29.
-
TreePin! A prototype of my plugin for pinning parts of code to the edges of the screen (Apologies for the GIF artifacts)
Very cool! Sort of reminds me of treesitter-context. Any chance for compatibility? An example could be you either would disable context when something is pinned or somehow displace it other, depending on which is "on top" could be neat.
-
[New plugin] Introducing dropbar.nvim, an out-of-the-box, IDE-like winbar with drop-down menu support and multiple backends
It's for context and navigation, not completions. So it wouldn't replace nvim-cmp. It probably doesn't replace anything you already have unless you are already using a winbar. It combines features of treesitter-context, symbols-outline, and a file navigator but in a different presentation.
-
Plugin for virtual text around parantheses ?
Not quite the same thing, but arguably a better alternative : https://github.com/nvim-treesitter/nvim-treesitter-context
-
Looking for some kinda specific plugins for visibility
For 2: https://github.com/nvim-treesitter/nvim-treesitter-context
-
Please inform me of the plugin(s) enabling these two features
I really like nvim-treesitter-context as an alternative for 1.
-
I’m a vscode user who wants to migrate to neovim but still can’t get all the features I want, I’m trying out lazyvim, which plug-ins should I use?
nvim-treesitter-context implements "sticky scroll" where, depending on where your cursor is placed, the top lines of your window will be replaced by the otherwise offscreen lines that declare what function you're in (e.g function test(...), the line that begins the current class (e.g. public class Student implements Person {), the variable name of the current table (e.g. local planets = {), etc.
- I have reached Vim nirvana
-
Anything like Blockman in Neovim?
Very different in my eyes, but I love nvim-treesitter-context. Definitely another tool in helping the brain parse code -- I think of it as helping with long range context, whereas blockman helps me focus on local context and makes scoping relationships more subconciously available.
-
Plugin to show current function?
You are looking for this: https://github.com/nvim-treesitter/nvim-treesitter-context
-
what is the plugin for showing the function context on top of buffer?
I have seen https://github.com/nvim-treesitter/nvim-treesitter-context is recommended, and it works similar. But the way the context info are displayed in AstroNvim is much nicer
What are some alternatives?
When comparing twilight.nvim and nvim-treesitter-context you can also consider the following projects:
limelight.vim - :flashlight: All the world's indeed a stage and we are merely players
context.vim - Vim plugin that shows the context of the currently visible buffer contents
dracula.nvim - Dracula colorscheme for neovim written in Lua
nvim-treesitter-textobjects
goyo.vim - :tulip: Distraction-free writing in Vim
nvim-treehopper - Region selection with hints on the AST nodes of a document powered by treesitter
nvim-gps - Simple statusline component that shows what scope you are working inside
zen-mode.nvim - 🧘 Distraction-free coding for Neovim
format.nvim - A wrapper around Neovims native LSP formatting. [Moved to: https://github.com/lukas-reineke/lsp-format.nvim]
indent-blankline.nvim - Indent guides for Neovim
twilight.nvim vs limelight.vim
nvim-treesitter-context vs context.vim
twilight.nvim vs dracula.nvim
nvim-treesitter-context vs nvim-treesitter-textobjects
twilight.nvim vs goyo.vim
nvim-treesitter-context vs nvim-treehopper
twilight.nvim vs nvim-gps
nvim-treesitter-context vs nvim-gps
twilight.nvim vs zen-mode.nvim
nvim-treesitter-context vs format.nvim
twilight.nvim vs nvim-treehopper
nvim-treesitter-context vs indent-blankline.nvim