Skip to content

Commit efa6476

Browse files
committed
fix(nvim-treesitter): set default value of branch option
ensure that `master` branch is used
1 parent 2aad61b commit efa6476

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Use `install` module instead:
155155
-- Version or commit of `tree-sitter-vim-map-side`.
156156
revision = nil,
157157
-- Branch of `tree-sitter-vim-map-side`.
158-
branch = nil,
158+
branch = "master",
159159
custom_fns = {
160160
-- custom functions with same parameters of `vim.keymap.set()`.
161161
keymap = {},

lua/vim-map-side/tree-sitter/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ local M = {}
2222
---@type VimMapSide.TS.Opts
2323
local default_opts = {
2424
url = "https://github.com/Hdoc1509/tree-sitter-vim-map-side",
25+
-- TODO: remove `branch` option. Use `revision` as `branch` too.
26+
branch = "master",
2527
custom_fns = { keymap = {}, modemap = {} },
2628
}
2729

0 commit comments

Comments
 (0)