syntax-tree-surfer
kok.nvim
Our great sponsors
syntax-tree-surfer | kok.nvim | |
---|---|---|
10 | 60 | |
455 | 3,355 | |
- | - | |
5.4 | 9.3 | |
3 months ago | 1 day ago | |
Lua | Python | |
MIT License | GNU General Public License v3.0 only |
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.
syntax-tree-surfer
-
Select text using Treesitter Queries and start typing right away with SelectEase.nvim
Your config, tree-surfer or nvim-treesitter-textobjects follow nodes using the syntax tree. Go to parent / child / next siblings ect....
-
mini.move - Move any selection in any direction
Cool stuff. It might be worth adding this one to a comparison/alternatives list: https://github.com/ziontee113/syntax-tree-surfer
-
What's the one plugin you'd love to see?
The closest to "treesitter-powered jumps" plugin I know is ziontee113/syntax-tree-surfer. Don't use it personally, but video demos look cool.
-
Ask HN: S/W development text editor have feature colorizing every iteration?
treesitter / neovim:
different code block indicators styles : https://github.com/lukas-reineke/indent-blankline.nvim#with-...
collapse / expand / navigate between code blocks : https://github.com/stevearc/aerial.nvim
not exactly colorize, but can customize to just show iteration / loop processes : https://github.com/ziontee113/syntax-tree-surfer
- Syntax Tree Surfer now supports Dot Repeat for Swapping nodes in Normal Mode
-
What do you use treesitter for other than highlighting?
I personally use it for an outline window for my code (aerial.nvim) and quick-selecting code blocks (nvim-treesitter-textsubjects). I've also seen but not used syntax-tree-surfer for code navigation/manipulation and refactoring.nvim for performing refactoring operations. You could also check out awesome-neovim and ctrl-f for "treesitter", though there are many other plugins out there either not on that list or that don't explicitly mention treesitter in their description.
-
How Neovim helped me to grow up as a developer, and a person.
I published syntax-tree-surfer a while ago didn't know that anyone will be interested to use it. Turns out people do enjoy what I do. When I was in school I didn't feel like I mattered to other people. Now I feel like I do, there are people out there that cares about me, giving me help, advices, etc.. It's just really amazing!
-
tree-climber.nvim - climb around the treesitter tree
I admit, the functionality is blatantly similar to syntax-tree-surfer, but tree-climber should work also in files with comments as well (unfortunately, I could not make syntax-tree-surfer work in my neovim setup at all).
-
Small Feature Update for Syntax Tree Surfer plugin: Go to the top most node and do something there
Plugin: https://github.com/ziontee113/syntax-tree-surfer
-
Extracting JSX into React component
You can use syntax-tree-surfer to select the parent.
kok.nvim
-
How to get this overlay effect in neovim?
In the examples listed on this page https://github.com/ms-jpq/coq_nvim, there is a pattern overlay over the whole screen. Is there a neovim plugin that does this? Thanks.
-
Can anyone explain how to use treesitter with neovim in simple language?
nvim-cmp or coq_nvim is for autocompletion. Treesitter is for parsing language syntax. (I guess the most typical use case for this would be syntax highlighting.) Note that (neo)vim also has built in manual completion that you can use by setting up your omnifunc and triggering it with in insert mode .
-
What's the one plugin you'd love to see?
Aw man that's not nice to hear. I have had my own struggle with lsp not gonna lie. I used to use coc until it got too slow, after struggling for like 2 days lol lsp is working fast and neat. I'd suggest you to take a look at coq https://github.com/ms-jpq/coq_nvim which claims to be fast as fuck (literally lol) and also claims to be faster than lsp (because its written using c or something). Haven't tried it personally
-
New to Rust. How to setup Nvim as IDE?
Coq_nvim
-
Coq + LSP crashing
I'm attempting to use (coq_nvim)[https://github.com/ms-jpq/coq_nvim]. This is my config:
-
Neovim crashes when LuaSnip is used
Does your coq_nvim and nvim-lspconfig really load? Because they have opts = true
-
Is it a bad config or cmp isn't as smart as VSCode autocompletion?
I'd be happy for someone who knows more about this to correct me. But in my experience as well, nvim-cmp is not as good completion as vscode, its suggestions can be all over the place sometimes. I found that coq_nvim tends to better in this regard. I still prefer nvim-cmp for other reasons but you should definitely try coq_nvim out and see if you have a better experience.
-
nvimYAY! but: how to get coq (or any) completion to work (pyright)?
Coq_nvim isn't the same as Coc.nvim. Coq is a completion plugin with lots of caching written in Python that works alongside the builtin LSP. Coc is an LSP client (and has it's own plugin ecosystem) written in Node.
-
Why aren't there more plugins written in python?
There are some like https://github.com/SirVer/ultisnips and https://github.com/ms-jpq/coq_nvim. Speed is not really an issue, I guess people just prefer to have fewer dependencies and use lua which is already bundled in neovim.
-
nvim + lspconfig + nvim-cmp general slowness in large codebases
Maybe using coq.nvim instead of nvim-cmp could help (?) dince it caches the LSP responses. I haven't test it, though
What are some alternatives?
tree-climber.nvim
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
coq - Coq is a formal proof management system. It provides a formal language to write mathematical definitions, executable algorithms and theorems together with an environment for semi-interactive development of machine-checked proofs.
aerial.nvim - Neovim plugin for a code outline window
nvim-cmp - A completion plugin for neovim coded in Lua.
react-extract.nvim - Neovim plugin for extracting jsx into React component
deoplete.nvim - :stars: Dark powered asynchronous completion framework for neovim/Vim8
treesitter-unit - A Neovim plugin to deal with treesitter units
vim-repeat - repeat.vim: enable repeating supported plugin maps with "."
nvim-treesitter-textobjects
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.