Nvim Treesitter configurations and abstraction layer (by nvim-treesitter)


Basic nvim-treesitter repo stats
6 days ago

nvim-treesitter/nvim-treesitter is an open source project licensed under Apache License 2.0 which is an OSI approved license.

Nvim-treesitter Alternatives

Similar projects and alternatives to nvim-treesitter

  • GitHub repo neovim

    Vim-fork focused on extensibility and usability

  • GitHub repo tree-sitter

    An incremental parsing system for programming tools

  • GitHub repo tree-sitter-ruby

    Ruby grammar for tree-sitter

  • GitHub repo telescope.nvim

    Find, Filter, Preview, Pick. All lua, all the time.

  • GitHub repo nvim-compe

    Auto completion plugin for nvim that written in Lua.

  • GitHub repo lspsaga.nvim

    neovim lsp plugin

  • GitHub repo tokyonight.nvim

    🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.

  • GitHub repo nvim-ts-context-commentstring

    Neovim treesitter plugin for setting the commentstring based on the cursor location in a file.

  • GitHub repo dotfiles

  • GitHub repo vim-gitgutter

    A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.

  • GitHub repo indentLine

    A vim plugin to display the indention levels with thin vertical lines

  • GitHub repo LanguageClient-neovim

    Language Server Protocol (LSP) support for vim and neovim.

  • GitHub repo vim-endwise

    endwise.vim: wisely add "end" in ruby, endfunction/endif/more in vim script, etc

  • GitHub repo completion-nvim

    A async completion framework aims to provide completion to neovim's built in LSP written in Lua

  • GitHub repo gitsigns.nvim

    Git signs written in pure lua

  • GitHub repo lualine.nvim

    A blazing fast and easy to configure neovim statusline plugin written in pure lua.

  • GitHub repo vimpyter

    Edit your Jupyter notebooks in Vim/Neovim

  • GitHub repo playground

    Treesitter playground integrated into Neovim (by nvim-treesitter)

  • GitHub repo gruvbox.nvim

    Lua port of the most famous vim colorscheme

  • GitHub repo vim-dim

    Dim (/dɪm/; a contraction of Default IMproved) is a clone of Vim’s default colorscheme, with some improvements.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better nvim-treesitter alternative or higher similarity.


Posts where nvim-treesitter has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-05-14.
  • Treesitter (or How I realized that I am dumb)
    reddit.com/r/neovim | 2021-05-15
    See: https://github.com/nvim-treesitter/nvim-treesitter#i-experience-weird-highlighting-issues-similar-to-78
  • What's your favorite colorscheme?
    reddit.com/r/neovim | 2021-05-14
    Or better yet, gruvbox with a custom mapping of treesitter capture groups to highlights using https://github.com/nvim-treesitter/nvim-treesitter
  • Emacs to Neovim
    reddit.com/r/neovim | 2021-05-09
    Syntax highlighting: https://github.com/nvim-treesitter/nvim-treesitter
  • A simple trick to load source code with neovim/vim 3 times faster.
    reddit.com/r/neovim | 2021-05-09
  • Is it possible to force tree-sitter to assume that specific .json is jsonc? Setting ft doesn't help
    reddit.com/r/neovim | 2021-04-30
    There is a bug report for this issue: https://github.com/nvim-treesitter/nvim-treesitter/issues/1249 We seem to miss changing the parser when file type changes. But something like this ` au! BufRead,BufNewFile *.json set filetype=jsonc` works for me. You could adapt the wildcard or add a condition for the `set filetype`
  • New TokyoDark Theme
    reddit.com/r/neovim | 2021-04-23
    You need treesitter for the code highlights and lspsaga for the diagnosis sorcery. While you are at it, you should probably get gitsigns as well.
  • Python Syntax Highlighting for vim
    reddit.com/r/vim | 2021-04-20
    Was gonna recommend this as well. Here's a link to it: nvim-treesitter
  • New dark Neovim theme TokyoNight written in Lua, with support for lsp, treesitter and lots of plugins.
    reddit.com/r/neovim | 2021-04-19
    reddit.com/r/neovim | 2021-04-19
    TreeSitter parsing and querying is builtin Neovim including a highlighter engine that uses those astrees. However, Neovim does not include any highlight queries etc by default (similar to syntax files). That's what nvim-treesitter is for. It "configures" the treesitter engine for Neovim.
  • [Word of advice] If using Neovim Treesitter then stop using vim-polyglot
    reddit.com/r/neovim | 2021-04-08
    But upon further research, involving some Neovim Treesitter folks, it turns out that vim-polyglot was buggering up indents even when told to explicitly not involve itself, see this Github discussion.
    reddit.com/r/neovim | 2021-04-08
    See https://github.com/nvim-treesitter/nvim-treesitter
  • Any way to add method separators?
    reddit.com/r/vim | 2021-04-01
    Part two of the puzzle is parsing the methods out of a file. This will probably need to be done with an external parser, or perhaps neovim's treesitter support.
  • [Tressitter query] Can I specify vim-polyglot indentation and have Treesitter only for highlights?
    reddit.com/r/neovim | 2021-03-30
    reddit.com/r/neovim | 2021-03-30
    Note, Tim Pope's endwise is also broken with Treesitter for similar reasons as noted here
    reddit.com/r/neovim | 2021-03-30
    See the screenshots here.