Browse Source

Fix some docstrings

master
Nicolas Petton 1 year ago
parent
commit
6f1ed5dae0
No known key found for this signature in database GPG Key ID: E8BCD7866AFCF978
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      xref-js2.el

+ 3
- 3
xref-js2.el View File

@@ -46,7 +46,7 @@
(require 'vc)

(defcustom xref-js2-search-program 'ag
"The backend program used for searching"
"The backend program used for searching."
:type 'symbol
:group 'xref-js2
:options '(ag rg))
@@ -195,7 +195,7 @@ concatenated together into one regexp, expanding occurrences of
matches))))

(defun xref-js2--search-ag-get-args (regexp)
"aggregate command line arguments to search for `regexp' using ag"
"Aggregate command line arguments to search for REGEXP using ag."
`(,@xref-js2-ag-arguments
,@(seq-mapcat (lambda (dir)
(list "--ignore-dir" dir))
@@ -206,7 +206,7 @@ concatenated together into one regexp, expanding occurrences of
,regexp))

(defun xref-js2--search-rg-get-args (regexp)
"aggregate command line arguments to search for `regexp' using ripgrep"
"Aggregate command line arguments to search for REGEXP using ripgrep."
`(,@xref-js2-rg-arguments
,@(if (not xref-js2-js-extensions)
nil ;; no filtering based on extension


Loading…
Cancel
Save