branch: externals/idlwave commit cba1950d51ce73a633eb4f5131bea75ac82240b6 Author: JD Smith <jdtsm...@gmail.com> Commit: JD Smith <jdtsm...@gmail.com>
Add structure tag completion by default (configurable). --- idlwave.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/idlwave.el b/idlwave.el index 6bc00ecb7a..643bd13426 100644 --- a/idlwave.el +++ b/idlwave.el @@ -601,6 +601,10 @@ for which to assume this can be set here." :group 'idlwave-routine-info :type '(repeat (regexp :tag "Match method:"))) +(defcustom idlwave-complete-structure-tags t + "Whether to complete structure tags in source and shell." + :group 'idlwave-routine-info + :type 'boolean) (defcustom idlwave-completion-show-classes 1 "*Number of classes to show when completing object methods and keywords. @@ -1996,6 +2000,11 @@ The main features of this mode are ;; Update the routine info with info about current buffer? (idlwave-new-buffer-update) + (if idlwave-complete-structure-tags + (add-hook 'idlwave-mode-hook + (lambda () + (require 'idlw-complete-structtag)))) + ;; Run the mode hook (run-hooks 'idlwave-mode-hook))