Skip to content

Instantly share code, notes, and snippets.

@edrpls
Created January 25, 2021 19:40
Show Gist options
  • Save edrpls/909e8aa61ad8492e38a9ee33351b375b to your computer and use it in GitHub Desktop.
Save edrpls/909e8aa61ad8492e38a9ee33351b375b to your computer and use it in GitHub Desktop.
tree-sitter-config
require'nvim-treesitter.configs'.setup {
highlight = {
enable = true,
},
incremental_selection = {
enable = true,
keymaps = {
init_selection = "gnn",
node_incremental = "<tab>",
node_decremental = "<s-tab>",
scope_incremental = "<leader><tab>",
}
},
ensure_installed = "all"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment