;;; org-roam-completion.el --- Completion features -*- coding: utf-8; lexical-binding: t; -*- ;; Copyright © 2020 Jethro Kuan ;; Author: Jethro Kuan ;; URL: https://github.com/org-roam/org-roam ;; Keywords: org-mode, roam, convenience ;; Version: 2.0.0 ;; Package-Requires: ((emacs "26.1") (dash "2.13") (f "0.17.2") (s "1.12.0") (org "9.4") (emacsql "3.0.0") (emacsql-sqlite3 "1.0.2") (magit-section "2.90.1")) ;; This file is NOT part of GNU Emacs. ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 3, or (at your option) ;; any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ;; Boston, MA 02110-1301, USA. ;;; Commentary: ;; ;; This library provides completion for org-roam. ;;; Code: ;;;; Library Requires (require 'cl-lib) (require 's) (defvar helm-pattern) (declare-function helm "ext:helm") (declare-function helm-make-source "ext:helm-source" (name class &rest args) t) (defcustom org-roam-completion-system 'default "The completion system to be used by `org-roam'." :type '(radio (const :tag "Default" default) (const :tag "Ido" ido) (const :tag "Ivy" ivy) (const :tag "Helm" helm) (function :tag "Custom function")) :group 'org-roam) (defcustom org-roam-completion-ignore-case t "Whether to ignore case in Org-roam `completion-at-point' completions." :group 'org-roam :type 'boolean) (provide 'org-roam-completion) ;;; org-roam-completion.el ends here