From eb552c7022cbd1379138bdc1b2fe464a99d25640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20F=C3=B6rster?= Date: Mon, 1 Apr 2024 15:38:05 +0200 Subject: [PATCH] Add missing citation commands (#115) Adds the following citation commands: - `\citeA` - `\citeR` - `\citeS` - `\citeyearR` Fixes #94. --- CHANGELOG.md | 6 ++++++ grammar.js | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c49e46b2..c8527fad4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- Add missing citation commands: `\citeA`, `\citeR`, `\citeS`, `\citeyearR` ([#94](https://github.com/latex-lsp/tree-sitter-latex/issues/94)) + ## [0.4.0] - 2024-04-01 ### Added diff --git a/grammar.js b/grammar.js index 6d1289038..f341f7e85 100644 --- a/grammar.js +++ b/grammar.js @@ -731,6 +731,10 @@ module.exports = grammar({ '\\citep', '\\citet*', '\\citep*', + '\\citeA', + '\\citeR', + '\\citeS', + '\\citeyearR', '\\citeauthor', '\\citeauthor*', '\\Citeauthor',