diff --git a/CHANGELOG.md b/CHANGELOG.md index 08e0b806..10196e58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ ## 9.1.1 (upcoming) - Fix false positives for words added by `Add to dictionary` for Slovak rule IDs `MUZSKY_ROD_NEZIV_A`, `ZENSKY_ROD_A`, and `STREDNY_ROD_A` (fixes [vscode-ltex#221](https://github.com/valentjn/vscode-ltex/issues/221)) +- Fix BibTEX field `seealso` not ignored, ignore `category` and `parent` (see [vscode-ltex#211](https://github.com/valentjn/vscode-ltex/issues/211)) ## 9.1.0 (January 24, 2021) diff --git a/ltexls-core/src/main/java/org/bsplines/ltexls/parsing/bibtex/BibtexFragmentizerDefaults.java b/ltexls-core/src/main/java/org/bsplines/ltexls/parsing/bibtex/BibtexFragmentizerDefaults.java index 65f300cd..16ce155d 100644 --- a/ltexls-core/src/main/java/org/bsplines/ltexls/parsing/bibtex/BibtexFragmentizerDefaults.java +++ b/ltexls-core/src/main/java/org/bsplines/ltexls/parsing/bibtex/BibtexFragmentizerDefaults.java @@ -18,6 +18,7 @@ private static Map createDefaultBibtexFields() { Map bibtexFields = new HashMap<>(); bibtexFields.put("author", false); + bibtexFields.put("category", false); bibtexFields.put("date", false); bibtexFields.put("doi", false); bibtexFields.put("edition", false); @@ -33,10 +34,11 @@ private static Map createDefaultBibtexFields() { bibtexFields.put("origlanguage", false); bibtexFields.put("owner", false); bibtexFields.put("pages", false); + bibtexFields.put("parent", false); bibtexFields.put("publisher", false); bibtexFields.put("pubstate", false); bibtexFields.put("see", false); - bibtexFields.put("see-also", false); + bibtexFields.put("seealso", false); bibtexFields.put("shorthand", false); bibtexFields.put("timestamp", false); bibtexFields.put("translator", false);