Skip to content

Commit

Permalink
Update installation hints in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
smoeding committed May 3, 2024
1 parent b5cac61 commit ea0745d
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions puppet-ts-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
;; Maintainer: Stefan Möding <[email protected]>
;; Version: 0.1.0
;; Created: <2024-03-02 13:05:03 stm>
;; Updated: <2024-05-03 15:40:38 stm>
;; Updated: <2024-05-03 16:51:13 stm>
;; URL: https://github.com/smoeding/puppet-ts-mode
;; Keywords: languages, puppet, tree-sitter
;; Package-Requires: ((emacs "29.1"))
Expand All @@ -33,13 +33,16 @@
;; will need to install the appropriate grammar. This can be done by using
;; the following Elisp snippet:
;;
;; (add-to-list
;; 'treesit-language-source-alist
;; '(puppet "https://github.com/smoeding/tree-sitter-puppet"))
;; (treesit-install-language-grammar 'puppet)
;; (require 'puppet-ts-mode)
;; (puppet-ts-mode-install-grammar)
;;
;; Note that a compiler toolchain is required for this to work. You should
;; also consult the Emacs manual: (info "(elisp) Parsing Program Source")
;; Using the function provided by the package ensures that a version of the
;; parser matching the package will be installed. These commands should also
;; be used to update the parser to the corrent version when the package is
;; updated.
;;
;; Note that a compiler toolchain is required for this to work. You may also
;; want to consult the Emacs manual: (info "(elisp) Parsing Program Source")
;;
;; Caution: Currently this is work in progress; many details concerning
;; font-lock or indentation might not yet work as expected. Most convenience
Expand Down

0 comments on commit ea0745d

Please sign in to comment.