[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold c70ac04ea5 358/417: Fixed linting warnings, u
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold c70ac04ea5 358/417: Fixed linting warnings, untabified, tested locally with eask. |
Date: |
Mon, 1 Jul 2024 10:03:04 -0400 (EDT) |
branch: elpa/treesit-fold
commit c70ac04ea5ff72d8fc69bd5cb48253581b789f5c
Author: Nidish Narayanaa Balaji <nidbid@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>
Fixed linting warnings, untabified, tested locally with eask.
---
ts-fold-parsers.el | 2 ++
ts-fold.el | 17 +++++++----------
2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/ts-fold-parsers.el b/ts-fold-parsers.el
index 27ad9690f9..1caddcacef 100644
--- a/ts-fold-parsers.el
+++ b/ts-fold-parsers.el
@@ -59,6 +59,8 @@
(declare-function ts-fold-range-julia-if "ts-fold.el")
(declare-function ts-fold-range-julia-let "ts-fold.el")
(declare-function ts-fold-range-kotlin-when "ts-fold.el")
+(declare-function ts-fold-range-latex-environment "ts-fold.el")
+(declare-function ts-fold-range-latex-section "ts-fold.el")
(declare-function ts-fold-range-lisp-function "ts-fold.el")
(declare-function ts-fold-range-llvm-label "ts-fold.el")
(declare-function ts-fold-range-llvm-mir-label "ts-fold.el")
diff --git a/ts-fold.el b/ts-fold.el
index 6b28518547..3e19cc4b8d 100644
--- a/ts-fold.el
+++ b/ts-fold.el
@@ -1160,11 +1160,9 @@ more information."
For arguments NODE and OFFSET, see function `ts-fold-range-seq' for
more information."
(when-let* ((lab-node (car (ts-fold-find-children node "curly_group")))
- (beg (tsc-node-end-position lab-node))
- (end (tsc-node-end-position node)))
- (ts-fold--cons-add (cons beg end) offset)
- )
- )
+ (beg (tsc-node-end-position lab-node))
+ (end (tsc-node-end-position node)))
+ (ts-fold--cons-add (cons beg end) offset)))
(defun ts-fold-range-latex-environment (node offset)
"Define fold range for latex environments.
@@ -1172,11 +1170,10 @@ more information."
For arguments NODE and OFFSET, see function `ts-fold-range-seq' for
more information."
(when-let* ((beg-node (tsc-get-child-by-field node :begin))
- (end-node (tsc-get-child-by-field node :end))
- (beg (tsc-node-end-position beg-node))
- (end (tsc-node-start-position end-node)))
- (ts-fold--cons-add (cons beg end) offset))
- )
+ (end-node (tsc-get-child-by-field node :end))
+ (beg (tsc-node-end-position beg-node))
+ (end (tsc-node-start-position end-node)))
+ (ts-fold--cons-add (cons beg end) offset)))
(defun ts-fold-range-rst-body (node offset)
"Define fold range for `body' in reStructuredText.
- [nongnu] elpa/treesit-fold 882c4faae8 271/417: fix(parsers): update nix definitions (#37), (continued)
- [nongnu] elpa/treesit-fold 882c4faae8 271/417: fix(parsers): update nix definitions (#37), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold bb5bd2e31e 276/417: feat: Add Clojure support (#64), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold dcf6fdcb85 292/417: Bump version for next version, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold b52b33357e 300/417: feat: Add Erlang support (#83), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold cd7963038f 318/417: feat: Add Fish support (#96), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 8972eb674e 391/417: feat: Fully support isearch and modification conditions (#1), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 3dd7c477fb 305/417: feat: Add CMake support (#86), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 250567abd2 345/417: Register qss-mode with CSS, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 648f75ef06 342/417: fix(indicators): Add option for rendering method, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold db35c17409 331/417: lint, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c70ac04ea5 358/417: Fixed linting warnings, untabified, tested locally with eask.,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold 4ef65016fd 396/417: fix: Respect same line folding from close all, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold dd36cd388a 360/417: Untabified, reorganized alphabetically: parsers, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 4e9492c2f8 370/417: fix changelog, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 714d645b68 337/417: fix: error Invalid face box quote (:line-width -1 :style 'pressed-button), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c8638d41be 372/417: feat(Zig): Add more Zig folding rules, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c45985d720 330/417: fix: Remove unused function, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 45f20588f0 304/417: docs(README.md): Add development languages, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 206d849f72 012/417: add support for nix, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 13941aa169 016/417: Add support for Go structs, interfaces, methods and functions, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 665dd1e46d 017/417: Merge pull request #1 from jakejx/go-support, ELPA Syncer, 2024/07/01