Closed dimbleby closed 3 years ago
The parser is not pinned since this requires #950 (for pinning the parser) and https://github.com/nvim-treesitter/nvim-treesitter/pull/813 (enables pinning for Git, not only for tar) or a PR that enables using tar instead of Git for Gitlab (not only for Github).
Describe the bug
Per title:
TSUpdate
always updates the jsonc parser although it hasn't changed for a week, much less in the last ten seconds.To Reproduce
TSUpdate
.Expected behavior
Unchanged parsers are not updated
Output of
:checkhealth nvim_treesitter
health#nvim_treesitter#check ======================================================================== ## Installation - OK: `git` executable found. - OK: `cc` executable found. ## Parser/Features H L F I - sparql ✓ ✓ ✓ ✓ - ocaml_interface✓ ✓ ✓ . - gdscript ✓ ✓ . . - ocamllex ✓ . . . - clojure ✓ ✓ . . - turtle ✓ ✓ ✓ ✓ - c_sharp ✓ . . . - cpp ✓ ✓ ✓ ✓ - typescript ✓ ✓ ✓ ✓ - rust ✓ ✓ ✓ ✓ - tsx ✓ ✓ ✓ ✓ - ledger ✓ . ✓ ✓ - c ✓ ✓ ✓ ✓ - scala . . . . - python ✓ ✓ ✓ ✓ - supercollider ✓ ✓ ✓ ✓ - go ✓ ✓ ✓ ✓ - haskell . . . . - toml ✓ ✓ ✓ ✓ - vue ✓ . ✓ . - ruby ✓ ✓ . ✓ - jsonc ✓ ✓ ✓ ✓ - bash ✓ ✓ ✓ . - elm . . . . - php ✓ ✓ ✓ . - nix ✓ ✓ ✓ . - java ✓ ✓ . ✓ - dart ✓ ✓ . . - kotlin ✓ . . . - devicetree ✓ ✓ ✓ ✓ - rst ✓ ✓ . . - html ✓ ✓ ✓ ✓ - fennel ✓ ✓ . . - julia ✓ ✓ . . - teal ✓ ✓ ✓ ✓ - query ✓ ✓ ✓ . - json ✓ ✓ ✓ ✓ - ql ✓ ✓ . . - lua ✓ ✓ ✓ ✓ - jsdoc ✓ . . . - erlang . . . . - regex ✓ . . . - verilog ✓ ✓ ✓ . - yaml ✓ ✓ ✓ ✓ - javascript ✓ ✓ ✓ ✓ - ocaml ✓ ✓ ✓ . - css ✓ . ✓ ✓ - graphql ✓ . . ✓ - swift . . . . Legend: H[ighlight], L[ocals], F[olds], I[ndents] *) multiple parsers found, only one will be used x) errors found in the query, try to run :TSUpdate {lang}
Output of
nvim --version
NVIM v0.5.0-dev+1108-g0450e155d Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include Compiled by runner@fv-az205-375 Features: +acl +iconv +tui See ":help feature-compile" system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: " /home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim" Run :checkhealth for more info
Additional context
None