gsuuon / note.nvim

Notes in neovim
64 stars 1 forks source link

feat!: update treesitter queries, highlights #4

Closed gsuuon closed 2 months ago

gsuuon commented 2 months ago

This will break the current queries and may result in a lot of error messages. If you're using tree-sitter-note, you'll need to update it:

  1. start nvim and run :TSUninstall note
  2. close nvim
  3. start nvim and load note (:Note or :Lazy load note.nvim)
  4. :TSInstall note

The link format has changed from [<link>] to {{<link>}}. Use :NoteConvertLinksSquareToCurly in files with square bracket links to update them.

Tree-sitter node changes:

Related grammar PR: gsuuon/tree-sitter-note#1