 ;;; company-org-block.el --- Org blocks company backend -*- lexical-binding: t; -*-
 
-;; Copyright (C) 2021 Alvaro Ramirez
-
-;; Package-Requires: ((emacs "25.1"))
+;; Author: Alvaro Ramirez
+;; Package-Requires: ((emacs "25.1") (company "0.8.0") (org "9.2.0"))
 ;; URL: https://github.com/xenodium/company-org-block
 
 ;; This package is free software; you can redistribute it and/or modify


(defun company-org-block--template-p (template)
  "Check if there is a TEMPLATE available for completion."
  (seq-contains-p (map-values org-structure-template-alist)
                  template))

(defun company-org-block--expand (insertion)
  "Replace INSERTION with generated source block."

;; along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.

;;; Commentary:
;; `company-complete' org blocks using "<" as a trigger.
;;
;; To enable, add `company-org-block' to `company-backend'.

