File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11; ;; lsp-origami.el --- origami.el support for lsp-mode -*- lexical-binding : t ; -*-
22
3- ; ; Copyright (C) 2019 Vibhav Pant <[email protected] >3+ ; ; Copyright (C) 2019-2020 Vibhav Pant <[email protected] >44
55; ; Author: Vibhav Pant
6- ; ; Version: 0.1
6+ ; ; Version: 1.0.0
77; ; Keywords: languages lsp-mode
8- ; ; Package-Requires: ((origami "1.0") (lsp-mode "20190326.522 "))
8+ ; ; Package-Requires: ((origami "1.0") (lsp-mode "6.1 "))
99; ; URL: https://github.com/emacs-lsp/lsp-origami
1010
1111; ; This program is free software; you can redistribute it and/or modify
4848 (lsp--folding-range-end range))))
4949 (lsp--folding-range-children range)))))
5050
51+
5152(defun lsp-origami--parser (create )
52- " Get a list of Folding Ranges for the current buffer."
53+ " Get a list of Folding Ranges for the current buffer, with CREATE as the origami callback ."
5354 (lambda (_content )
5455 (unless (lsp--capability " foldingRangeProvider" )
5556 (signal 'lsp-capability-not-supported (list " foldingRangeProvider" )))
You can’t perform that action at this time.
0 commit comments